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
Hello, I am having a hard time developing my graphql schema with deprecated queries, mutations and subscriptions.
I have found the config property "addDeprecatedAnnotation", which transforms input values into correctly annotated deprecated methods. (See graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/generators/java/ClientApiGenerator.kt)
I need the same to work for queries, mutations and subscriptions on class level, e.g.:
Hello, I am having a hard time developing my graphql schema with deprecated queries, mutations and subscriptions.
I have found the config property "addDeprecatedAnnotation", which transforms input values into correctly annotated deprecated methods. (See graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/generators/java/ClientApiGenerator.kt)
I need the same to work for queries, mutations and subscriptions on class level, e.g.:
schema.graphql:
"Query root" type Query { doSomething(anInput: String): Void @deprecated(reason : "Use doSomethingElse instead.")}
should translate into:
/**
*/
@deprecated
public class DoSomethingGraphQLQuery extends GraphQLQuery {...}
I would be grateful for any help here. Thanks in advance!
The text was updated successfully, but these errors were encountered: