Skip to content

Conversation

@darkbasic
Copy link
Owner

No description provided.

Instead of running it for each dataloaderFind we now run it once for each queryMap.
We dont add any more overhead to getNewFiltersAndMapKeys but now we have to fully
traverse newFilter one additional time just to compute the mandatory populate options.
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2023

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
mikro-orm-find-dataloader 2.1.0-alpha-20231205093316-e69b27449d95ec4edd1d3e2eccc8b18c0d3316e4 npm ↗︎ unpkg ↗︎

@codecov-commenter
Copy link

Codecov Report

Attention: 37 lines in your changes are missing coverage. Please review.

Comparison is base (0f369f5) 59.37% compared to head (e69b274) 53.84%.

Files Patch % Lines
packages/find/src/findDataloader.ts 37.28% 28 Missing and 9 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   59.37%   53.84%   -5.53%     
==========================================
  Files           2        2              
  Lines         192      247      +55     
  Branches       60       88      +28     
==========================================
+ Hits          114      133      +19     
- Misses         66       93      +27     
- Partials       12       21       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@darkbasic darkbasic merged commit 0a07c1a into main Dec 5, 2023
@darkbasic-bot darkbasic-bot bot mentioned this pull request Dec 5, 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.

3 participants