aerogear / create-graphql

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

Check if id is valid on Loader.load #45

Closed sibelius closed 7 years ago

sibelius commented 7 years ago

Fixes #44.

codecov-io commented 7 years ago

Current coverage is 82.67% (diff: 100%)

Merging #45 into master will not change coverage

@@             master        #45   diff @@
==========================================
  Files            13         13          
  Lines           202        202          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            167        167          
  Misses           35         35          
  Partials          0          0          

Powered by Codecov. Last update 5a9159f...d234cc8

lucasbento commented 7 years ago

Looks good, I just added braces to the if condition, thanks, @sibelius!