question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The graphqls extension is not accepted as an introspection output

See original GitHub issue

While I can use the .graphqls extension for documents, I can’t use it for the schema file in the validate command:

$ graphql-inspector validate "src/**/*.graphqls" schema.graphql
success All documents are valid
$ graphql-inspector validate "src/**/*.graphql" schema.graphqls
error Unable to find matching files for glob: schema.graphqls in directory: .

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
steebchencommented, May 15, 2019

Weird, I can’t reproduce it either right now. I recently re-installed the cli so maybe that was the issue or something was wrong on my end. Thanks a lot for checking.

0reactions
steebchencommented, May 24, 2019

Thanks so much for fixing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

GraphQL schema introspection failure on newer version of ...
Expected Behavior GraphQL schema introspection succeeded. ... description: 'Marks an element of a GraphQL schema as no longer supported.
Read more >
Introspection - GraphQL
A query language for your API — GraphQL provides a complete description of the data in your API, gives clients the power to...
Read more >
Three ways to represent your GraphQL schema
The GraphQL Schema Definition Language, or SDL; The GraphQL introspection query result; The GraphQL.js GraphQLSchema object. First, let's dive ...
Read more >
GraphQL: Language Feature Support
Extension for Visual Studio Code - GraphQL LSP extension that adds autocompletion, validation, go to definition, hover, outline and more.
Read more >
introspection - GraphQL Code Generator
yarn add -D @graphql-codegen/introspection. This plugin generates a GraphQL introspection file based on your GraphQL schema.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found