aerogear / create-graphql

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

Improve generators, templates, tests & Support Flow in Mongoose schema #16

Closed lucasbento closed 7 years ago

lucasbento commented 7 years ago

This PR introduces multiple improvements on the templates and the way that we generate the files, also fixes #10 handling Flow types on a Mongoose schema.

codecov-io commented 7 years ago

Current coverage is 54.94% (diff: 76.66%)

Merging #16 into master will increase coverage by 8.12%

@@             master        #16   diff @@
==========================================
  Files            12         13     +1   
  Lines           173        182     +9   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits             81        100    +19   
+ Misses           92         82    -10   
  Partials          0          0          

Powered by Codecov. Last update 640e45c...5d5b8d1

lucasbento commented 7 years ago

@sibelius: let's merge this, I'll create the tests for generators with mongoose schema later.

There are a lot of improvements on the templates that we can begin to use with this PR merged.

sibelius commented 7 years ago

Good, merge it