Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for getters #16

Closed
taras opened this issue Sep 9, 2016 · 0 comments
Closed

Support for getters #16

taras opened this issue Sep 9, 2016 · 0 comments

Comments

@taras
Copy link
Member

taras commented Sep 9, 2016

I tried creating a getter on a Microstate class and I found that they only work on the hash that's passed to extend. That value is cached and not re-computed for new microstate instances. I would expect getters to be transferred to each new instance.

I created a branch with some failing tests.

I'd like to implement this change. I want to make sure that I'm heading in the right direction. Is the problem that value is cached here?

@taras taras closed this as completed Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant