prismake / typegql

Create GraphQL schema with TypeScript classes.
https://prismake.github.io/typegql/
MIT License
424 stars 21 forks source link

correct the @After hook example #66

Open capaj opened 5 years ago

capaj commented 5 years ago

as it was before it was a bit confusing.

This example would have worked much better if the TODO left in code about passing the return value was implemented. Then it could be something like:

image

codecov[bot] commented 5 years ago

Codecov Report

Merging #66 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   91.18%   91.18%           
=======================================
  Files          60       60           
  Lines         658      658           
  Branches       29       29           
=======================================
  Hits          600      600           
  Misses         56       56           
  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 313c4b1...49384e9. Read the comment docs.