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

Fix set model id by 0, model actual id is -1 #195

Merged
merged 2 commits into from
Jul 27, 2020

Conversation

nanyuantingfeng
Copy link
Contributor

use of || syntax causes the '0' value to be short-circuited

use of `||` syntax causes the '0' value to be short-circuited
If the `store.add` API is called multiple times and there is `nested ref data` in the data, the `setter` is called to update ref value, and needs call the `store.add` to fix this. just like `initialVal`
Copy link
Member

@DarkoKukovec DarkoKukovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@DarkoKukovec DarkoKukovec merged commit cff34b2 into infinum:release/v2 Jul 27, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants