We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1045eeb commit 548b2efCopy full SHA for 548b2ef
src/ParseServer.js
@@ -266,7 +266,7 @@ class ParseServer {
266
graphQLCustomTypeDefs = parse(
267
fs.readFileSync(options.graphQLSchema, 'utf8')
268
);
269
- } else if (typeof options.graphQLSchema === 'object') {
+ } else if (typeof options.graphQLSchema === 'object' || typeof options.graphQLSchema === 'function') {
270
graphQLCustomTypeDefs = options.graphQLSchema;
271
}
272
0 commit comments