graphql-kotlin
graphql-kotlin copied to clipboard
bug(federation): graphql-java v22 update breaks deprecation notices
Library Version
8.0.0-alpha.1
Describe the bug
There is a change in schema printer behavior in GraphQL Java v22. Previously @deprecated was always applied on schema elements regardless whether schema contains the built-in directive definition or not. Starting with v22, schema printer will now only include @deprecated application IFF built-in @deprecated directive definition is present in schema.
To Reproduce See "fixed" tests in update PR https://github.com/ExpediaGroup/graphql-kotlin/pull/1967
Expected behavior Deprecation information should be preserved in federated schemas.