Skip to content

fix: throw an error if the user tries to register the same model twice - #15599

Merged
WikiRik merged 2 commits into
mainfrom
ephys/prevent-multi-init
Jan 25, 2023
Merged

WikiRik merged 2 commits into
mainfrom
ephys/prevent-multi-init

Conversation

@ephys

@ephys ephys commented Jan 25, 2023

Copy link
Copy Markdown
Member

Pull Request Checklist

  • Have you added new tests to prevent regressions?
  • If a documentation update is necessary, have you opened a PR to the documentation repository?
  • Did you update the typescript typings accordingly (if applicable)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Does the name of your PR follow our conventions?

Description Of Change

Closes #11734. Registering the same model twice is not supported. Repository mode can eventually add support for this in the future

@WikiRik
WikiRik merged commit b5f125b into main Jan 25, 2023
@WikiRik
WikiRik deleted the ephys/prevent-multi-init branch January 25, 2023 10:05
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.

belongsToMany not saved for multiple SQLite :memory: connections

2 participants