-
-
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
Downloaded schema misses deprecated directive of field argument #6785
Comments
@tobias-tengler @michaelstaib This issue might be fixed before (cannot tell) but it is currently present (reappeared?) in the latest v13.9.7. I cannot reopen this issue. Should I create a new one, basically the same? Please let me know. Thank you. |
It's not an issue. The tooling uses introspection and introspection does not have the capability for type system directives. You can however use the sdl endpoint which is not specified. It's hotchocolate only. |
@michaelstaib |
So where is the issue ... not following ... what tool do you think is behaving wrong? |
Namely here is the schema result: it has the expected deprecated on schema {
query: Query
}
type Query {
book(authors: [String!]): Book!
}
type Book {
title: String!
author: Author!
someDeprecated: String @deprecated(reason: "This is a test.")
}
type Author {
name: String!
} |
I think it might be StrawberryShake download. I am using the latest "13.9.7" The ?sdl does return the expected schema with all expected deprecated's. |
@michaelstaib Please find below the attached project (the original with all pieces updated with 13.9.7) |
I have checked it ... its fixed in 14. We do not plan to port this back as we release 14 in August. |
Is there an existing issue for this?
Product
Strawberry Shake
Describe the bug
The schema downloaded by
strawberryshake.tools
misses the expected deprecated directive of a field argument.Please use the attached project and described steps.
ss-missing-deprecated-directive.zip
The original (now changed) issue: #6302
Steps to reproduce
Start the service:
Download the schema:
Actual result
The field
book
has the argumentauthors
with nodeprecated
directiveExpected result
The field
book
has the argumentauthors
with thedeprecated
directiveWorkaround(?)
The expected result maybe obtained using the
?sdl
query parameterRelevant log output
No response
Additional Context?
No response
Version
13.8.0
The text was updated successfully, but these errors were encountered: