Skip to content

feat: add clear storage method #133

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

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

thiagomini
Copy link
Contributor

@thiagomini thiagomini commented Aug 14, 2023

Hey, @B4nan. This simple method gives the client control over the entities' storage. This is related to #132. I noticed that the clear() method was actually unused in the repo. I'm adding that feature here in the hopes that you can publish a new version of the nest package sooner than the Mikro-orm, so I can start using this to continue working on my tests with Vitest. I appreciate the help so far!

Edit: I tested it locally, and it also fixes the issue for me (although not the ideal solution, that will work until you publish the changes in the mikro-orm/core package)

@B4nan B4nan merged commit 41ba27b into mikro-orm:master Aug 14, 2023
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