You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ graphql init
? Local schema file path: schema.graphql
? Endpoint URL (Enter to skip): https://api.graph.cool/relay
/v1/cj9o4se940gsu0148s5a4helr
? Name of this endpoint, for e.g. default, dev, prod: server
? Subscription URL (Enter to skip):
? Do you want to add other endpoints? No
? What format do you want to save your config in? JSON
About to write to /Users/shingdev/code/GRAPHCOOL/react-graphql/quickstart-with-relay-modern/.graphqlconfig:
{
"schemaPath": "schema.graphql",
"extensions": {
"endpoints": {
"server": "https://api.graph.cool/relay/v1/cj9o4se940gsu0148s5a4helr"
}
}
}
? Is this ok? Yes```
then ran graphql get-schema, which saw no changes with the previously existing schema.graphql file which seemed correct.
macOS Sierra
Node 9.
i ran graphql init and to get .graphqlconfig:
$ graphql get-schema
Downloading introspection from https://api.graph.cool/relay/v1/cj9o4se940gsu0148s5a4helr
No changes
$ graphql load -m createCompany --json companies.json
Using endpoint server: undefined
Using mutation "createCompany": "".
Done parsing JSON-file /Users/shingdev/code/GRAPHCOOL/react-graphql/quickstart-with-relay-modern/companies.json rows: 90
Sending query:
mutation {
}...
Parameter "url" must be a string, not undefined
{
"schemaPath": "schema.graphql",
"extensions": {
"endpoints": {
"server": {"url":"https://api.graph.cool/relay/v1/cj9o4se940gsu0148s5a4helr"}
}
}
}
This is my graphcool playground mutation def:
This is what the mutation looks like in DevTools if I do one manually
-mutation & variables
Any ideas? Thank you.
The text was updated successfully, but these errors were encountered: