Ask coding questions

← Back to all posts
How do I make a dynamic query of orders in GraphQL?
RahulChoubey1 (134)

So I'm making a pretend pizza order app, and I want to use GraphQL to retrieve order data on path /graphql. Each order should have an id attribute with a numeric ID starting with 0 and a data attribute with order data(like type of pizza). How can I set up the schema and root to do this?