-
Notifications
You must be signed in to change notification settings - Fork 120
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
Routing error when directly fetching properties on interfaces #1442
Comments
WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. |
I am facing similar issue as well where For instance:
query details:
The above query returns following error:
However, following queries returns data as expected
or
|
Noticed the same thing while creating repro for #1440. |
+1, preventing us from adopting Cosmo. |
please try out this version https://github.com/wundergraph/cosmo/releases/tag/router%400.175.1 Runtime error should no longer happen @YassineElbouchaibi @rlch please try too, in case issue won't be resolved please create separate issues with the subgraph sdls and failing queries if any |
Component(s)
router
router version
v0.0.0-20240927172855-3e390cd5cf6c
What happened?
Description
The router is encountering an error when I try to retrieve the query plan for queries that directly fetch data from interfaces.
Steps to Reproduce
Execute a query like this:
where the
Comment
is an interface and not a type.Expected Result
The correct query plan is being returned! This works perfectly when I directly fetch data from a type that implements that interface or when I simply retrieve the ID.
Actual Result
We are getting a execution plan failure.
Environment information
I am using the following headers:
Log output
The text was updated successfully, but these errors were encountered: