graphql-compose / graphql-compose-mongoose

Mongoose model converter to GraphQL types with resolvers for graphql-compose https://github.com/nodkz/graphql-compose
MIT License
708 stars 94 forks source link

docs: document rp.beforeQuery #372

Closed canac closed 2 years ago

canac commented 2 years ago

Add examples of how to use the beforeQuery hook.

New docs help answer this question: #334

codecov-commenter commented 2 years ago

Codecov Report

Merging #372 (8d2a1d7) into master (c2449a9) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 8d2a1d7 differs from pull request most recent head eadf696. Consider uploading reports for the commit eadf696 to get more accurate results Impacted file tree graph

@@           Coverage Diff           @@
##           master     #372   +/-   ##
=======================================
  Coverage   92.84%   92.84%           
=======================================
  Files          57       57           
  Lines        2195     2195           
  Branches      657      657           
=======================================
  Hits         2038     2038           
  Misses        155      155           
  Partials        2        2           

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 c2449a9...eadf696. Read the comment docs.

nodkz commented 2 years ago

Thanks for the brilliant example! I very appreciate 🙏

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 9.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: