GraphQL custom schema on CLI (#5828)
* Add --graphQLSchema to CLI * Add custom graphql schema instructions to readme file * Update README.md Co-Authored-By: Tom Fox <tomfox@surprises.io> * Update src/Options/Definitions.js Co-Authored-By: Tom Fox <tomfox@surprises.io> * Update src/Options/docs.js Co-Authored-By: Tom Fox <tomfox@surprises.io> * Update src/Options/index.js Co-Authored-By: Tom Fox <tomfox@surprises.io>
This commit is contained in:
committed by
GitHub
parent
6d5f6b4c94
commit
a6f441248b
@@ -158,6 +158,10 @@ module.exports.ParseServerOptions = {
|
||||
help: 'Mount path for the GraphQL endpoint, defaults to /graphql',
|
||||
default: '/graphql',
|
||||
},
|
||||
graphQLSchema: {
|
||||
env: 'PARSE_SERVER_GRAPH_QLSCHEMA',
|
||||
help: 'Full path to your GraphQL custom schema.graphql file',
|
||||
},
|
||||
host: {
|
||||
env: 'PARSE_SERVER_HOST',
|
||||
help: 'The host to serve ParseServer on, defaults to 0.0.0.0',
|
||||
|
||||
Reference in New Issue
Block a user