Skip to content

Don't return other interfaces in list of .possible_types #5395

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 2 commits into from
Jun 25, 2025

Conversation

rmosolgo
Copy link
Owner

@rmosolgo rmosolgo commented Jun 25, 2025

Fixes #5390

This also removes duplicates from the returned array.

@rmosolgo rmosolgo changed the title Add a failing test for transitive interfaces and .possible_types Don't return other interfaces in list of .possible_types Jun 25, 2025
@rmosolgo rmosolgo added this to the 2.5.10 milestone Jun 25, 2025
@rmosolgo rmosolgo merged commit 5069859 into master Jun 25, 2025
28 of 29 checks passed
@rmosolgo rmosolgo deleted the possible-types-without-interfaces branch June 25, 2025 19:39
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.

[GraphQL::Schema::Visibility] Nested interfaces & Schema.possible_types regression
1 participant