Skip to content
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

Federation: Preserve @deprecated type-system directives #3792

Merged
merged 4 commits into from
Feb 14, 2020

Conversation

trevor-scheer
Copy link
Member

This commit resolves a breaking and unintentional change from #3736.

While type-system directives should be removed, @deprecated is a
special case which can and should be left in.

This commit resolves a breaking and unintentional change from #3736.

While type-system directives _should_ be removed, @deprecated is a
special case which can and should be left in.
@trevor-scheer trevor-scheer changed the title Gateway: don't strip the @deprecated type-system directive Federation: don't strip the @deprecated type-system directive Feb 14, 2020
@trevor-scheer trevor-scheer force-pushed the trevor/federation-deprecated-directive branch from 7c6cb44 to b19bb23 Compare February 14, 2020 00:27
@zionts
Copy link
Contributor

zionts commented Feb 14, 2020

Thanks @trevor-scheer ! Should we deprecate the accidentally breaking version after this lands?

@abernix abernix changed the title Federation: don't strip the @deprecated type-system directive Federation: Preserve @deprecated type-system directives Feb 14, 2020
@abernix abernix merged commit 6005f50 into master Feb 14, 2020
@abernix abernix deleted the trevor/federation-deprecated-directive branch February 14, 2020 13:14
@abernix abernix added this to the Release 2.10.1 milestone Feb 14, 2020
abernix pushed a commit to apollographql/federation that referenced this pull request Sep 4, 2020
…l/apollo-server#3792)

This commit resolves a breaking and unintentional change from apollographql/apollo-server#3736.

While type-system directives _should_ be removed, @deprecated is a
special case which can and should be left in.

Co-authored-by: Jesse Rosenberger <git@jro.cc>

Apollo-Orig-Commit-AS: apollographql/apollo-server@6005f50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants