schema-first approach does not support single line and mutliline documentation
See original GitHub issueCurrently, the schema-first approach does not support single line and mutliline documentation (see GraphQL Specifications from June 2018).
The following one will not work when we try to use the schema-first approach:
"""
A simple GraphQL schema which is well described.
"""
type Query {
"""
Translates a string from a given language into a different language.
"""
translate(
"The original language that `text` is provided in."
fromLanguage: Language
"The translated language to be returned."
toLanguage: Language
"The text to be translated."
text: String
): String
}
"""
The set of languages supported by `translate`.
"""
enum Language {
"English"
EN
"French"
FR
"Chinese"
CH
}
I made a little research and I didn’t manage to find any .net GraphQL implementation that supports this. Is this one related to this issue? Thx you 🙄
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
GraphQL schema basics
GraphQL's schema definition language (SDL) supports Markdown-enabled documentation strings, called descriptions. These help consumers of your graph discover ...
Read more >GraphQL playground type detail multiline comment?
1 Answer 1 · Both don't seem to work for me... prints everything in one line in graphql playground. – J.S.C · Are...
Read more >Schema-First API Design
A schema-first approach creates a single source of truth that can be used to generate all kinds of development artifacts. Well-defined API specs ......
Read more >Schema Registry API Reference
Schema Registry API Reference¶. This section provides a detailed reference for the Schema Registry API. The best way to test these is to...
Read more >PHP Documentation Standards | Coding Standards Handbook
WordPress uses a customized documentation schema that draws inspiration from PHPDoc, an evolving standard for providing documentation to PHP code, which is ......
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 FreeTop 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
Top GitHub Comments
No prob. With version 9 we will bring lots of improvements for Schema-first
OK, it is public https://www.nuget.org/packages/HotChocolate/0.8.1-rc.2