graphql-cli-load
graphql-cli-load copied to clipboard
Loading json data
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