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(store): emit MudStoreSetRecord event when registering a new schema, register SchemaTable's schema #383

Merged
merged 5 commits into from
Feb 9, 2023

Conversation

alvrs
Copy link
Member

@alvrs alvrs commented Feb 8, 2023

We weren't emitting a MudStoreSetRecord event when storing to the schema table, because the schema table doesn't use the usual setRecord path of setting data (because that one requires the table to have a schema, so it's a circular dependency).

Also, we weren't registering the SchemaTable's schema in the SchemaTable. Not too important, but good for completeness.

@alvrs alvrs requested review from holic and dk1a February 8, 2023 22:50
dk1a
dk1a previously approved these changes Feb 9, 2023
Copy link
Contributor

@dk1a dk1a left a comment

Choose a reason for hiding this comment

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

lgtm, just a small nit about duplicate declarations

@alvrs alvrs enabled auto-merge February 9, 2023 18:39
@alvrs alvrs disabled auto-merge February 9, 2023 18:39
@alvrs alvrs merged commit 53b2b62 into v2 Feb 9, 2023
@alvrs alvrs deleted the alvrs/schemaevent branch May 18, 2023 12:52
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.

2 participants