Router does not work correctly with union nested types #679
Labels
bug
Something isn't working
confirmed bug
The issue was replicated/determined to be a bug.
engine-planner
internally-reviewed
The issue has been reviewed internally.
router
Component(s)
router, controlplane, composition, cli
Component version
v0.78.0
wgc version
0.44.1
controlplane version
v0.80.0
router version
v0.78.0
What happened?
Description
We have a large 15 megabyte supergraph running Apollo, we tried to run Cosmo on it and got a lot of union related errors.
We tried to reproduce them, there seems to be a problem with the
Steps to Reproduce
I've put together a minimal example that the latest version of the router doesn't work with
https://github.com/flymedllva/cosmo-union-with-nested-type-does-not-work
example query:
Expected Result
Actual Result
Environment information
Environment
OS: 14.4 (23E214)
Package Manager: npm
Compiler(if manually compiled): go version go1.22.1 darwin/arm64
Router configuration
Router execution config
No response
Log output
No response
Additional context
The text was updated successfully, but these errors were encountered: