zakodium / adonis-mongodb

MongoDB provider for AdonisJS 5
https://zakodium.github.io/adonis-mongodb/
Other
63 stars 12 forks source link

refactor: rework model API #83

Closed targos closed 3 years ago

targos commented 3 years ago

BREAKING CHANGE: The model API has been reworked to be closer to Lucid's.

codecov-commenter commented 3 years ago

Codecov Report

Merging #83 (622a94c) into main (cf07ae7) will decrease coverage by 2.34%. The diff coverage is 78.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
- Coverage   90.07%   87.73%   -2.35%     
==========================================
  Files           8        8              
  Lines         383      432      +49     
  Branches       48       52       +4     
==========================================
+ Hits          345      379      +34     
- Misses         38       53      +15     
Impacted Files Coverage Δ
src/Model/Model.ts 88.60% <76.54%> (-6.83%) :arrow_down:
test-utils/TestUtils.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cf07ae7...622a94c. Read the comment docs.