ethanresnick / json-api

Turn your node app into a JSON API server (http://jsonapi.org/)
GNU Lesser General Public License v3.0
268 stars 41 forks source link

Adapter return types #165

Closed ethanresnick closed 6 years ago

ethanresnick commented 6 years ago

Closes #164.

codecov[bot] commented 6 years ago

Codecov Report

Merging #165 into master will increase coverage by 0.1%. The diff coverage is 94.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #165     +/-   ##
=========================================
+ Coverage   90.87%   90.98%   +0.1%     
=========================================
  Files          56       56             
  Lines        2170     2185     +15     
  Branches      482      487      +5     
=========================================
+ Hits         1972     1988     +16     
+ Misses        198      197      -1
Impacted Files Coverage Δ
src/types/Query/DeleteQuery.ts 100% <ø> (ø) :arrow_up:
src/types/Query/AddToRelationshipQuery.ts 100% <ø> (ø) :arrow_up:
src/types/Query/FindQuery.ts 50% <ø> (ø) :arrow_up:
src/types/Query/RemoveFromRelationshipQuery.ts 100% <ø> (ø) :arrow_up:
src/types/Query/UpdateQuery.ts 100% <ø> (ø) :arrow_up:
src/types/Query/CreateQuery.ts 100% <ø> (ø) :arrow_up:
src/steps/make-query/make-patch.ts 83.33% <100%> (ø) :arrow_up:
src/steps/make-query/make-post.ts 92.3% <100%> (ø) :arrow_up:
src/steps/make-query/make-get.ts 88.46% <100%> (ø) :arrow_up:
src/db-adapters/Mongoose/utils/doc-to-resource.ts 93.75% <100%> (ø) :arrow_up:
... and 2 more

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 b4091bf...5965bc7. Read the comment docs.