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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove federated type registry #861

Merged
merged 3 commits into from Sep 2, 2020

Conversation

smyrick
Copy link
Contributor

@smyrick smyrick commented Sep 2, 2020

馃摑 Description

Now that the typename information is part of the resolvers we can just pass the resolvers around and there is no need to publicly expose the FederatedTypeRegistry since it is just a mapping of internal code.

Instead we can move this "cache" to the EntityResolver class and delete all public usage of the other code. This also removes the possibility of error by forgetting to configure the FederatedTypeRegistry correctly

馃敆 Related Issues

#851

@smyrick smyrick added type: enhancement New feature or request changes: major Changes require a major version labels Sep 2, 2020
Copy link
Collaborator

@dariuszkuc dariuszkuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@smyrick smyrick merged commit 05a64db into ExpediaGroup:master Sep 2, 2020
@smyrick smyrick deleted the remove-federated-type-registry branch September 2, 2020 16:02
huehnerlady pushed a commit to huehnerlady/graphql-kotlin that referenced this pull request Oct 16, 2020
* Remove FederatedTypeRegistry

* Fix test file

* Update docs on type registry

Co-authored-by: Shane Myrick <accounts@shanemyrick.com>
dariuszkuc pushed a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
* Remove FederatedTypeRegistry

* Fix test file

* Update docs on type registry

Co-authored-by: Shane Myrick <accounts@shanemyrick.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: major Changes require a major version type: enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

2 participants