-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I've encountered some issues with stitching in this example(I've recreated all steps form video):
- Error: Unknown type "Strapi_Products". Did you mean "Strapi_Product" in
cmsMetaData: [Strapi_Products] - if you change this to cmsMetaData: [Strapi_Product], the data structure is different , you need query like this to get saleorId :
query getProducts($sort: [String]) { products(sort:$sort) { data { id attributes { saleorId } } } }
3.You need to addchannel: "default-channel"on product query for saleor data - I am able to run this without the error so the page loads correctly, but only if there is no stitching (data from Strapi added).
All that time I am able to get the data from Strapi (http://localhost:1337/graphql) endpoint and Stitched(http://localhost:3000/api/graphql). So the endpoints are working, also I am not able to get the data from your query, I am not sure if the structure of Strapi is changed with new versions, or what is causing the problems here.
Do you know how to solve those issues?
Metadata
Metadata
Assignees
Labels
No labels