Skip to content

Add migration hook event #1177

@iamacook

Description

@iamacook

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions