graphql-kotlin icon indicating copy to clipboard operation
graphql-kotlin copied to clipboard

bug(federation): graphql-java v22 update breaks deprecation notices

Open dariuszkuc opened this issue 1 year ago • 0 comments

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.

dariuszkuc avatar May 16 '24 14:05 dariuszkuc