Support new description syntax
See original GitHub issueAs 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](https://user-images.githubusercontent.com/163561/34314990-67a8b5e4-e72f-11e7-8ce4-136b19d46ec6.png)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:18 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jlengstorf thanks for the issue. Support for the new description syntax is in the latest release.
@Grmiade it’s an issue with the
@playlyfe/gql
dependency - I opened a PR here https://github.com/Mayank1791989/gql/pull/111