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

bugfix: Update EnumType.removeInnerElements() to call remove() on its children #1813

Merged

Conversation

sachindshinde
Copy link
Contributor

Noticed a bug in EnumType.removeInnerElements(), where it wouldn't call remove() on its children. This PR adds a test and provides a fix.

@netlify
Copy link

netlify bot commented Apr 30, 2022

👷 Deploy request for apollo-federation-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1dde38f

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 30, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@sachindshinde sachindshinde merged commit 14d1d3d into apollographql:main May 2, 2022
This was referenced May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

toAPISchema throws if @inaccessible is on an enum with @inaccessible/@tag applied to an element
3 participants