Closed ktrauberman closed 1 year ago
resolve is not yet supported..... so no bug here.
resolve is not yet supported..... so no bug here.
Alright. What is the proper way to do what I'm attempting then? There's no documentation for fusion so I'm fumbling around in the dark here.
Will this PR add the proper features to do what I'm trying to do here?
Is there an existing issue for this?
Product
Hot Chocolate
Describe the bug
I have a subgraph "A" that has a query
widgetById(widgetId: ID!): Widget!
and another subgraph "B" that has a type with a widgetId fieldtype Thing { widgetId: ID! }
. I want to extend this type with a fieldwidgetName
that is resolved from theWidget.name
field.I added this to schema.extensions.graphql in subgraph "A"
which produces this in the fusion graph:
and when I try to query that field, I get an error:
I would expect the fusion graph to produce the query that I'm passing into the
@resolve
directive.Steps to reproduce
Relevant log output
No response
Additional Context?
No response
Version
13.6.0-preview.23