Skip to content

Removed deprecated methods from fields / unions and interfaces#3513

Closed
bbakerman wants to merge 2 commits into
masterfrom
removed-deprecated-methods-field-fetchers
Closed

Removed deprecated methods from fields / unions and interfaces#3513
bbakerman wants to merge 2 commits into
masterfrom
removed-deprecated-methods-field-fetchers

Conversation

@bbakerman
Copy link
Copy Markdown
Member

Now is the winter of our discontent and also the time to remove deprecated methods

  • Richard III by William Shakespeare

This finally removes the ability to specify code on type objects. You can not longer put a DataFetcher on a field or a type resolve on the Union / Interface

You must use GraphQLCodeRegistry now for this. This has deprecation been in place for 5 years - its time!

@bbakerman bbakerman added the breaking change requires a new major version to be relased label Mar 10, 2024
@bbakerman
Copy link
Copy Markdown
Member Author

Ahh boo - I think I started this PR off the code in #3512

@bbakerman
Copy link
Copy Markdown
Member Author

We are not going to remove the DataFetches on fields and type resolvers on types

The risk rewards is not there

@bbakerman bbakerman closed this Mar 19, 2024
@dondonz dondonz removed this from the 2024 April: breaking changes milestone Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change requires a new major version to be relased

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants