4 ms·
So the only way to mock the data is to have mutations in your schema and to post the data with these mutations? Btw cool idea! :)
by ggregoire 10y ago
So the only way to mock the data is to have mutations in your schema and to post the data with these mutations?
Btw cool idea! :)
- sorenbs 10y agoThanks :-) Graphcool automatically generates a crud style api based on your schema, so you don't have to specify mutations in the schema. We'll add the ability to auto-generate mock data, but for now you will have to use mutations to insert some data
- schickling 10y agoThanks a lot for that feedback! I've just created a Github issue for that. Please feel free to add a comment: https://github.com/graphcool/graphql-up/issues/2 https://github.com/graphcool/graphql-up/issues/2