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

chore: add a test with a model when defining multiple optional fields #426

Merged
merged 1 commit into from Mar 18, 2024

Conversation

art049
Copy link
Owner

@art049 art049 commented Mar 18, 2024

Add a regression test for #379. Kudos to @netomi again!

Copy link

🚀 Deployed on https://docs-preview-426--odmantic.netlify.app

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.18%. Comparing base (cf7b2b4) to head (95413b3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #426   +/-   ##
=======================================
  Coverage   99.18%   99.18%           
=======================================
  Files          52       52           
  Lines        5033     5040    +7     
  Branches      712      712           
=======================================
+ Hits         4992     4999    +7     
  Misses         37       37           
  Partials        4        4           
Flag Coverage Δ
tests-3.10-4.4-standalone 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.10-5-standalone 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.10-6-standalone 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.11-4-replicaSet 99.02% <100.00%> (+<0.01%) ⬆️
tests-3.11-4.2-sharded 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.11-4.4-standalone 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.11-5-standalone 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.11-6-standalone 93.63% <100.00%> (+<0.01%) ⬆️
tests-3.8-4.4-standalone 93.58% <100.00%> (+<0.01%) ⬆️
tests-3.8-5-standalone 93.58% <100.00%> (+<0.01%) ⬆️
tests-3.8-6-standalone 93.58% <100.00%> (+<0.01%) ⬆️
tests-3.9-4.4-standalone 93.54% <100.00%> (+<0.01%) ⬆️
tests-3.9-5-standalone 93.54% <100.00%> (+<0.01%) ⬆️
tests-3.9-6-standalone 93.54% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@art049 art049 merged commit e94914a into master Mar 18, 2024
35 checks passed
@art049 art049 deleted the chore/test-multiple-optionals branch March 18, 2024 04:13
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.

None yet

1 participant