graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

[Fusion] nodes field isn't working

Open tobias-tengler opened this issue 7 months ago • 0 comments

Product

Hot Chocolate

Version

14.0.0-p.105

Link to minimal reproduction

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

Steps to reproduce

Run the test in the reproduction.

What is expected?

The nodes being requested are properly returned.

What is actually happening?

Likely because the ResolveNode isn't actually setup to handle the nodes case: https://github.com/ChilliCream/graphql-platform/blob/86aee8436ce96f7a2dc707f315db3165ba464ea5/src/HotChocolate/Fusion/src/Core/Execution/Nodes/ResolveNode.cs#L58

Relevant log output

No response

Additional context

It will probably add an additional layer of complexity to handle the nodes field being invoked if the ids are of different types.

tobias-tengler avatar Jul 02 '24 20:07 tobias-tengler