docs/composer.md in graphql-stitching-0.3.6 vs docs/composer.md in graphql-stitching-1.0.0
- old
+ new
@@ -66,15 +66,15 @@
products_sdl = "type Query { ..."
supergraph = GraphQL::Stitching::Composer.new.perform({
storefronts: {
schema: GraphQL::Schema.from_definition(storefronts_sdl),
- executable: GraphQL::Stitching::RemoteClient.new(url: "http://localhost:3001"),
+ executable: GraphQL::Stitching::HttpExecutable.new(url: "http://localhost:3001"),
stitch: [{ field_name: "storefront", key: "id" }],
},
products: {
schema: GraphQL::Schema.from_definition(products_sdl),
- executable: GraphQL::Stitching::RemoteClient.new(url: "http://localhost:3002"),
+ executable: GraphQL::Stitching::HttpExecutable.new(url: "http://localhost:3002"),
},
my_local: {
schema: MyLocalSchema,
},
})