You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to populate the @deprecated "reason" parameter when generating the schema via the SchemaPrinter#print method but to no avail. The schema that is generated via the SchemPrinter method does include @depracted directive beside the query that we deprecated in our Java code, however, the reason is NOT populated, no matter how we try and configure the SchemaPrinter.
Strangely enough, when the server starts, the GraphQL schema that is generated and exposed via the webserver includes the reason that we pass through the "deprecationReason" parameter as part of @GraphQLQuery annotation. Both, the webserver and the SchemaPrinter, have a reference to the same GraphQLSchema object.
We're using the following versions of the libraries:
graphql-java:16.2
spqr:0.11.2
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hello,
We are trying to populate the @deprecated "reason" parameter when generating the schema via the SchemaPrinter#print method but to no avail. The schema that is generated via the SchemPrinter method does include @depracted directive beside the query that we deprecated in our Java code, however, the reason is NOT populated, no matter how we try and configure the SchemaPrinter.
Strangely enough, when the server starts, the GraphQL schema that is generated and exposed via the webserver includes the reason that we pass through the "deprecationReason" parameter as part of @GraphQLQuery annotation. Both, the webserver and the SchemaPrinter, have a reference to the same GraphQLSchema object.
We're using the following versions of the libraries:
graphql-java:16.2
spqr:0.11.2
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: