loopback-next
                                
                                
                                
                                    loopback-next copied to clipboard
                            
                            
                            
                        feat: adds emitSchemaFile option to GraphQLServer config
Signed-off-by: Matthew Schnee [email protected]
This PR updates the options for GraphQLServer to supply the optional emitSchemaFile option.  This is the same configuration used by TypeGraphQL's buildSchema method.
Note that this is the basic, naïve implementation that TypeGraphQL itself uses.  For a full schema including support for custom directives, using GraphQLServer.exportGraphqlSpec may be preferable.
Checklist
- [x] DCO (Developer Certificate of Origin) signed in all commits
 - [x] 
npm testpasses on your machine - [x] New tests added or existing tests modified to cover all changes
 - [x] Code conforms with the style guide
 - [ ] API Documentation in code was updated
 - [ ] Documentation in /docs/site was updated
 - [ ] Affected artifact templates in 
packages/cliwere updated - [ ] Affected example projects in 
examples/*were updated 
Pull Request Test Coverage Report for Build 1365146989
- 0 of 0 changed or added relevant lines in 0 files are covered.
 - No unchanged relevant lines lost coverage.
 - Overall coverage decreased (-76.03%) to 0.0%
 
| Totals | |
|---|---|
| Change from base Build 1363589294: | -76.03% | 
| Covered Lines: | 0 | 
| Relevant Lines: | 0 | 
💛 - Coveralls
@mschnee I see we both worked on the same thing. Anyways, please update the README to inform users of this feature. Other than LGTM