aerogear / create-graphql

Command-line utility to build production-ready servers with GraphQL.
MIT License
440 stars 38 forks source link

add viewer to mutationadd #56

Closed sibelius closed 7 years ago

sibelius commented 7 years ago

fix #37

codecov-io commented 7 years ago

Codecov Report

Merging #56 into master will not impact coverage.

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   82.67%   82.67%           
=======================================
  Files          13       13           
  Lines         202      202           
=======================================
  Hits          167      167           
  Misses         35       35

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 c055be4...7212a0b. Read the comment docs.

rturk commented 7 years ago

This will always include a viewer in the mutation?

sibelius commented 7 years ago

only on add mutation, we can move this as a parameter or as a config later

lucasbento commented 7 years ago

@sibelius: The boilerplate has a ViewerLoader, should we use it or not?

sibelius commented 7 years ago

neh, just return the logged user