Bug: always shards options with chainable methods
icyleaf opened this issue · 0 comments
icyleaf commented
Crystal can not use instance variable in module, for now, i use constant DEFAULT_OPTIONS
to shards the options, but if separate to call the chainable methods, it still use the same options 😿
The spec will failed in:
- https://github.com/icyleaf/halite/blob/specs/spec/halite_spec.cr#L36
- https://github.com/icyleaf/halite/blob/specs/spec/halite_spec.cr#L78
result: