We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The CLI is currently not detecting the schema from the code when using .mjs extension.
.mjs
To Reproduce
schema.mjs
export const OctavoGraphqlSchema = new GraphQLSchema({ types, query: RootQuery, mutation: RootMutation, }); export default OctavoGraphqlSchema;
graphql-inspector introspect graphql/schema.mjs --write schema.graphql
Expected behavior
The inspector should be able to instrospect the schema, same as if it was in a schema.js file.
schema.js
Environment:
@graphql-inspector/cli
graphql
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The CLI is currently not detecting the schema from the code when using
.mjs
extension.To Reproduce
schema.mjs
:graphql-inspector introspect graphql/schema.mjs --write schema.graphql
Expected behavior
The inspector should be able to instrospect the schema, same as if it was in a
schema.js
file.Environment:
@graphql-inspector/cli
: 3.0.2graphql
: 15.7.2Additional context
The text was updated successfully, but these errors were encountered: