Skip to content

[generator] deprecated directive cleanup #591

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

Merged
merged 1 commit into from
Feb 1, 2020

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

graphql-java now adds @deprecated directive definition automatically so we dont have to explicitly add it anymore. This change also fixes handling of multiline directive definition declaration in the federation library.

I verified locally that our federation example still works fine with deprecated query. Unsure if this integration test (i.e. starting up 2 SpringBoot apps and node gateway and then running HTTP request) is something we can automate. Posted a question about it on Github forum: https://i.8713187.xyzmunity/t5/GitHub-Actions/integration-test-that-starts-multiple-apps/m-p/44918#M5969

🔗 Related Issues

Related issue: graphql-java/graphql-java#1598

`graphql-java` now adds `@deprecated` directive definition automatically so we dont have to explicitly add it anymore. This change also fixes handling of multiline directive definition declaration in the federation library.

I verified locally that our federation example still works fine with deprecated query. Unsure if this integration test (i.e. starting up 2 SpringBoot apps and node gateway and then running HTTP request) is something we can automate. Posted a question about it on Github forum: https://i.8713187.xyzmunity/t5/GitHub-Actions/integration-test-that-starts-multiple-apps/m-p/44918#M5969

Related issue: graphql-java/graphql-java#1598
@dariuszkuc dariuszkuc added changes: patch Changes require a patch version type: refactor Code changes that have no impact on users labels Feb 1, 2020
@smyrick
Copy link
Contributor

smyrick commented Feb 1, 2020

Nice!

@smyrick smyrick merged commit d9d8991 into ExpediaGroup:master Feb 1, 2020
@dariuszkuc dariuszkuc deleted the deprecated_directive branch February 1, 2020 04:32
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
`graphql-java` now adds `@deprecated` directive definition automatically so we dont have to explicitly add it anymore. This change also fixes handling of multiline directive definition declaration in the federation library.

I verified locally that our federation example still works fine with deprecated query. Unsure if this integration test (i.e. starting up 2 SpringBoot apps and node gateway and then running HTTP request) is something we can automate. Posted a question about it on Github forum: https://i.8713187.xyzmunity/t5/GitHub-Actions/integration-test-that-starts-multiple-apps/m-p/44918#M5969

Related issue: graphql-java/graphql-java#1598
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version type: refactor Code changes that have no impact on users
Development

Successfully merging this pull request may close these issues.

2 participants