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.

Support new description syntax

See original GitHub issue

As of v0.12.0, field descriptions need to be represented as strings rather than comments.

That means that the following schema:

type Query {
  # Receive a greeting.
  hello: String
}

Needs to be rewritten as:

type Query {
  """
  Receive a greeting.
  """
  hello: String
}

Syntax highlighting should be updated to reflect the string type; right now it looks pretty wonky.

screencap-by-jlengstorf 26

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
kumarharshcommented, Jan 7, 2018

@jlengstorf thanks for the issue. Support for the new description syntax is in the latest release.

1reaction
tgriessercommented, Mar 8, 2018

@Grmiade it’s an issue with the @playlyfe/gql dependency - I opened a PR here https://github.com/Mayank1791989/gql/pull/111

Read more comments on GitHub >

github_iconTop Results From Across the Web

supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports CSS at-rule lets you specify CSS declarations that depend on a browser's support for CSS features. Using this at-rule is ...
Read more >
Basic writing and formatting syntax - GitHub Docs
Create sophisticated formatting for your prose and code on GitHub with simple syntax.
Read more >
Extended Syntax - Markdown Guide
Many Markdown processors support syntax highlighting for fenced code blocks. This feature allows you to add color highlighting for whatever language your code ......
Read more >
Markdown Syntax Documentation - Daring Fireball
Markdown: Syntax. Main · Basics; Syntax; License · Dingus. Overview. Philosophy; Inline HTML; Automatic Escaping for Special Characters. Block Elements.
Read more >
Guide to expression syntax - Microsoft Support
Overview of expressions ... An expression is a combination of some or all of the following: built-in or user-defined functions, identifiers, operators, values, ......
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