-
-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema-first approach does not support single line and mutliline documentation #647
Comments
@radubuciuceanu I have taken your example and create a test with it .... the parser reads it correctly. From what I can see in my tests is that just the enum values are missing descriptions. There seems to be a mapping issue. """
The set of languages supported by `translate`.
"""
enum Language {
EN
FR
CH
} I will write a bigger test with all the types to see if the schema factory misses some more descriptions. I will create another rc tonight 0.8.1-rc.2. We will release this 0.8.1 next week with lots of bug fixes. |
@radubuciuceanu thanks for reporting this issue |
There is the pr if you want to follow along #648 |
OK, the bug should be fixed. |
Ok, this one is now fixed and under test. I have triggered a new rc build which should be public in an hour. Would be great if you could give feedback on this one @radubuciuceanu |
OK, it is public https://www.nuget.org/packages/HotChocolate/0.8.1-rc.2 |
@michaelstaib As I remember, when I tested it, the documentations from the GraphQL schema were ignored. Anyway, I'll try it now one more time and I'll announce here the result. By the way, thx you for responding so fast ❤️ |
I just tested it one more time. It worked well. Seems that, probably I was making something wrong... Anyway, I'm planning to use the schema-first approach in production so, if I find something else, I'll tell you. And thx you very much for being so responsive 😉 |
No prob. With version 9 we will bring lots of improvements for Schema-first |
Currently, 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:
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 🙄
The text was updated successfully, but these errors were encountered: