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.

Does not support GraphQL comments

See original GitHub issue

I have a schema.graphql. The tool does not like the comment and gave the following error

✗ Syntax Error GraphQL (6:1) Unexpected String

5:
6: """The available actions for this resource."""
   ^
7: type actions {

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:33
  • Comments:11

github_iconTop GitHub Comments

6reactions
arifCcommented, Jul 25, 2019

This should at least be renamed into “Does not support GraphQL descriptions” since the triple quotes indicate a description (see https://graphql.github.io/graphql-spec/draft/#sec-Descriptions).

3reactions
cabellocommented, Oct 28, 2020

Hi,

I disagree with the choice of words “deal breaker” makes it sound like the open source author was getting a deal from sharing their creation with you… it happens a lot with open source projects, they do get abandoned from time to time, what’s great is that this is open source so you can fork and maintain yourself.

In my case all I wanted was support to “triple quotes”, and bumping dependencies was enough to me, you can check the 2 commits I did on my fork:

The original author has moved to other projects and that’s totally fine. ❤️

Good luck to you all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to write comments in a GraphQL Schema to enhance ...
How to write comments in a GraphQL Schema to enhance auto-generated documentation. One of the main benefits of GraphQL is its self-documenting ...
Read more >
Documentation and Comments - GraphQL - Dgraph
Dgraph accepts GraphQL documentation comments, which get passed through to the generated API and shown as documentation in GraphQL tools.
Read more >
GraphQL schema basics - Apollo GraphQL Docs
Your GraphQL server uses a schema to describe the shape of your available data. This schema defines a hierarchy of types with fields...
Read more >
API (GraphQL) - Add relationships between types - Amplify Docs
Currently, this supports one-to-one, one-to-many, and many-to-one relationships. ... If keyName is not provided, then @connection queries the target table's ...
Read more >
Comments - GraphQL | Verbb
Comments supports accessing Comment objects via GraphQL. ... based on whether the elements are “leaves” in their structure (element with no descendants).
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