-
-
Notifications
You must be signed in to change notification settings - Fork 799
Open
Labels
Description
Product
Hot Chocolate
Is your feature request related to a problem?
I'm trying to use Fusion to merge an external graph (run by Hasura) that defines root elements as query_root, mutation_root, etc.
Fusion cannot merge the definitions of the graphs because the root elements in Hasura and Hot Chocolate are not the same. The Hasura graphs can't be changed (existing deployments), so I wanted to change the Hot Chocolate graphs to use the Hasura root element names.
I have tried everything and cannot get the exported schema to use query_root, mutation_root, etc.
The solution you'd like
I should be able to do something like [QueryObject(Name="query_root")] and have that reflected in the schema.
If that's not possible, maybe a way for Fusion to be able to rename root elements for external graphs?