Skip to content

[Fusion] Check if type can be resolved when selecting best matching subgraph#8497

Merged
michaelstaib merged 13 commits into
ChilliCream:main-version-15from
dawust:resolvercheck
Aug 13, 2025
Merged

[Fusion] Check if type can be resolved when selecting best matching subgraph#8497
michaelstaib merged 13 commits into
ChilliCream:main-version-15from
dawust:resolvercheck

Conversation

@dawust
Copy link
Copy Markdown
Contributor

@dawust dawust commented Aug 6, 2025

We've run into the same issue as #6727
Feel free to take a look, feedback is welcome! Thanks!

We check if the schema contains the necessary resolver for a type when selecting the best matching subgraph

@tobias-tengler
Copy link
Copy Markdown
Member

Hey Dani :) Thanks for the contribution!

The change seems sensible to me, but it appears some tests in src/HotChocolate/Fusion/test/Core.Tests are now stuck in an endless loop. Could you check that?

Also it would be nice, if you could add a test like this that showcases the effect of your fix.

Comment thread src/HotChocolate/Fusion/src/Core/Planning/QueryPlannerHelpers.cs
Comment thread src/HotChocolate/Fusion/src/Core/Planning/QueryPlannerHelpers.cs Outdated
Comment thread src/HotChocolate/Fusion/src/Core/Planning/QueryPlannerHelpers.cs
Comment thread src/HotChocolate/Fusion/src/Core/Planning/QueryPlannerHelpers.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants