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

Add migration hook event #1177

Open
iamacook opened this issue Jul 15, 2024 · 0 comments
Open

Add migration hook event #1177

iamacook opened this issue Jul 15, 2024 · 0 comments

Comments

@iamacook
Copy link
Member

Is your feature request related to a problem? Please describe.

There is no notification of newly added fields, only of updates.

Having added and expecting contractAddresses, we encountered the issue where the relevant property was not cache. This caused validation to break. We had to therefore manually clear the cache, whereas this should happen automatically

Describe the solution you'd like

When a model changes, a hook event should be emitted.

This could be done comparitively (e.g. post-migration) or (if not possible) when the service restarts.

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