News for hackers. Stuff that matters.
Re:Graphql-Up: CLI to create a ready-to-use GraphQL API by ggregoire on Tuesday March 14, 2017 @04:07PM (#13871022)
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! :)

Re:Graphql-Up: CLI to create a ready-to-use GraphQL API by sorenbs on Tuesday March 14, 2017 @04:23PM (#13871136)
Thanks :-)

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

Re:Graphql-Up: CLI to create a ready-to-use GraphQL API by schickling on Tuesday March 14, 2017 @05:22PM (#13871601)
Thanks 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