graphql-cli-load icon indicating copy to clipboard operation
graphql-cli-load copied to clipboard

Loading json data

Open skjorrface opened this issue 6 years ago • 0 comments

I'm trying to load data from a json file, when executing the graphql load command I get the following complains:

Sending query: mutation { _0 : createBlabla ( blabla1: 123,blabla2: "blabla2", blabla3: "blabla3 ) { blabla } _1 : ... }... Field "blabla" of type "BlablaType" must have a sub selection.:

If I execute the same mutation from that output in graphql, blabla will expand to blabla { id } and data is successfully added.

P.S. I got the server schema via graphql get-schema

skjorrface avatar Aug 08 '19 13:08 skjorrface