schickling
03/06/2017, 12:49 PMczysty
03/06/2017, 12:50 PMartyom
03/06/2017, 7:41 PMcoberhofer
03/06/2017, 8:18 PMauth
. I'm using a PERMANENT AUTH TOKEN that I have generated for this purpose and wanting to auth
with the following command:
graphcool auth -t <Token>
but it always throws up:
Error: Invalid auth token
at Object.<anonymous> (/Users/coberhofer/.nvm/versions/node/v6.9.4/lib/node_modules/graphcool/dist/commands/auth.js:65:27)
at step (/Users/coberhofer/.nvm/versions/node/v6.9.4/lib/node_modules/graphcool/dist/commands/auth.js:32:23)
at Object.throw (/Users/coberhofer/.nvm/versions/node/v6.9.4/lib/node_modules/graphcool/dist/commands/auth.js:13:53)
at rejected (/Users/coberhofer/.nvm/versions/node/v6.9.4/lib/node_modules/graphcool/dist/commands/auth.js:5:65)
at process._tickCallback (internal/process/next_tick.js:103:7)
What could be the problem?
BTW, the mentioned URL in the docs (https://www.graph.cool/docs/cli) ends in a 404.jamesmbowler
03/06/2017, 8:52 PMsorenbs
chrisbujok
03/06/2017, 9:08 PMaurnik
03/06/2017, 10:22 PMfred
03/07/2017, 12:45 AMone-to-one
relationship using a nested mutation.
E.g.
updateAuthor(
id: "xxx"
user: {
name: "Updated Name"
}
) {
id
user {
id // unchanged
name // Updated name
}
}
fred
03/07/2017, 12:46 AMgary.lesueur
03/07/2017, 7:43 AMleftjs
03/07/2017, 8:12 AMkairoeder
03/07/2017, 9:46 AM{
__type(name: "Delivery") {
name
fields {
name
type {
name
kind
ofType {
name
kind
}
}
}
}
}
but unfortunately I just get {
"name": "parties",
"type": {
"name": null,
"kind": "LIST",
"ofType": {
"name": null,
"kind": "NON_NULL"
}
}
},
except "Party" as ofType Name
In your playground in the schema overview you do display the correct type - anything I'm doing wrong?kairoeder
03/07/2017, 9:46 AMartyom
03/07/2017, 9:47 AMartyom
03/07/2017, 10:22 AMschickling
03/07/2017, 10:44 AMschickling
03/07/2017, 10:45 AMmosch
03/07/2017, 10:45 AMrhoffmann
03/07/2017, 11:02 AMrhoffmann
03/07/2017, 11:04 AMartyom
03/07/2017, 11:59 AMsorenbs
artyom
03/07/2017, 1:46 PMnodkz
03/07/2017, 1:53 PMrhoffmann
03/07/2017, 1:57 PMfallafeljan
03/07/2017, 1:58 PMartyom
03/07/2017, 6:02 PMrhoffmann
03/07/2017, 6:03 PMorelzion
03/07/2017, 7:50 PM