aerogear / create-graphql

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

Add lodash merge to correctly extend current config file with default #60

Closed lucasbento closed 7 years ago

lucasbento commented 7 years ago

Fix a bug on the CLI crashing when creating a type, basically it was trying to get the interface folder from the .graphqlrc file, it would crash if it didn’t exist.

Now it’s correctly working with a fallback.

codecov-io commented 7 years ago

Codecov Report

Merging #60 into master will increase coverage by -0.32%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   83.41%   83.09%   -0.32%     
==========================================
  Files          13       13              
  Lines         211      213       +2     
==========================================
+ Hits          176      177       +1     
- Misses         35       36       +1
Impacted Files Coverage Δ
packages/generator/src/utils.js 94.84% <60%> (-0.95%) :x:

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 00595d1...8708c67. Read the comment docs.