ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.27k stars 748 forks source link

Fusion Query Planner fails with list of union #7686

Open tobias-tengler opened 3 weeks ago

tobias-tengler commented 3 weeks ago

Product

Hot Chocolate

Version

main

Link to minimal reproduction

https://github.com/ChilliCream/graphql-platform/pull/7685

Steps to reproduce

See test in reproduction

What is expected?

A valid result is returned.

What is actually happening?

The Query Planner fails. In our real use case the Query Planner doesn't produce an error (not sure why), but the Query Planner plans one ResolveByKeyBatch per union item and fails to correctly assemble the names of the products.

Relevant log output

No response

Additional context

No response