-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Hi Guys,
I'm the one who upgrade the HC13 to HC15 firstly I got that the stitching was already gone then I try to implement a Hotchocolate.Fusion.
Mostly in the stitching I have done the schema by using the gql schema files. Right now, I know that for the Fusion I need to change for the subgraph pack by following the "fusion quick start".
The thing that's blocking me is once I would like to implement multiple gateways like order for path /graphql and product for path /gql, I did use the AddFusionGatewayServer 2 times first one for
- AddFusionGatewayServer("graphql").ConfigureFromFile("gateway-order.fgp")
and another one for - AddFusionGatewayServer("gql").ConfigureFromFile("gateway-product.fgp")
After that I do MapGraphQL like normal. The result that I got is both of the schema which coming it is the "last ConfigureFromFile" in this case is the schema of both graphql and gql is "product".
If I did something wrong or It has another proper way, please suggest me.
Best regards.