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

Bug: modifyValue() calls that change the parcel type break in the reducer #118

Closed
dxinteractive opened this issue Oct 17, 2018 · 1 comment

Comments

@dxinteractive
Copy link
Collaborator

To fix:

  • split out type checker if it's not generic enough to run on arbitrary values already
  • in modifyValue after value is returned, check it's parcel type. If different, generate a handleChange that will set() that value before passing up other changes
@dxinteractive
Copy link
Collaborator Author

This problem is potentially able to happen on nested data. ParcelNodes should help identify these as they happen.

This was referenced Oct 24, 2018
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