-
Notifications
You must be signed in to change notification settings - Fork 49
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
Should atoms in toucan.hydrate flushed after defmodel? #34
Comments
DogLooksGood
changed the title
Should atoms in toucan.hydrate flushed after defmodel
Should atoms in toucan.hydrate flushed after defmodel?
Mar 29, 2018
PR #27 is close to what you want. I'm hoping to get some tests in that PR so we can merge it in the near future |
It is inconvenient but I think maybe doing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we change models, we may change
hydration-keys
, this change will not work unless we reloadtoucan.hydrate
namespace. This looks inconvenient in development.Since
automagic-batched-hydration-key->model
andautomagic-batched-hydration-keys
are delays, why not reload them after each time we calldefmodel
? maybe there's a better way for this?The text was updated successfully, but these errors were encountered: