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 issue #415: removeMany should not throw an error if deleteCount equal 0 #416

Conversation

francois-spectre
Copy link
Contributor

RemoveMany should not throw an error if deleteCount equal 0 to keep same behaviour with mongoose v5 and v6.

Fix issue #415

…f deleteCount equal 0 to keep same behavior between mongoose v5 and v6
@codecov-commenter
Copy link

Codecov Report

Base: 92.54% // Head: 92.54% // No change to project coverage 👍

Coverage data is based on head (3a81ff2) compared to base (c1ea275).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #416   +/-   ##
=======================================
  Coverage   92.54%   92.54%           
=======================================
  Files          57       57           
  Lines        2213     2213           
  Branches      681      681           
=======================================
  Hits         2048     2048           
  Misses        163      163           
  Partials        2        2           
Impacted Files Coverage Δ
src/resolvers/removeMany.ts 78.94% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nodkz nodkz merged commit a9f34e9 into graphql-compose:master Sep 21, 2022
@nodkz
Copy link
Member

nodkz commented Sep 21, 2022

Good catch and brilliant fix!
Thanks 👍

@github-actions
Copy link

🎉 This PR is included in version 9.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants