anton-b
09/11/2017, 9:08 PMcreateUser(
authProvider: {
email: {
email: $email,
password: $password
}
}
) {
id // this should be used as $userId in 'createHandler'
}
createHandler(
firstName: $firstName,
lastName: $lastName,
email: $email,
userId: $userId // <-- this one
) {
id
}
lastmjs
09/11/2017, 10:22 PMzaksingh
09/12/2017, 4:03 AMoxyoxy88
09/12/2017, 7:04 AMdannyql
09/12/2017, 7:14 AMdannyql
09/12/2017, 7:14 AMJess Telford
09/12/2017, 7:59 AMupdateOrCreateRSVP
?
The UpdateRSVP
input is required, and also has a required ID
. So, I can't figure out how to call this mutation without already having an ID, which is a catch 22 for the first time I call it šJess Telford
09/12/2017, 8:10 AMcreateRSVP
/ updateRSVP
), but the Apollo code that is way too verbose šJess Telford
09/12/2017, 8:11 AM""
, not null
for the update
!
{
"id": "",
"eventId": "cj7bsje03naa9015947x8yvld",
"userId": "cj7flbi7rpd620112ouuim79l"
}
Jess Telford
09/12/2017, 8:11 AMJess Telford
09/12/2017, 8:18 AMJess Telford
09/12/2017, 8:18 AMmatty
09/12/2017, 8:51 AMfreddie-codogo
09/12/2017, 9:08 AMmutation
that contains 2 updateNode
operations on the same Node
. The permission for the second updateNode
is not satisfied until the first updateNode
opperation has been applied, and I think this might explain why the second updateNode
is failing...freddie-codogo
09/12/2017, 10:18 AMmatty
09/12/2017, 10:19 AM'use latest'
gives?matty
09/12/2017, 10:26 AMuser
09/12/2017, 10:46 AMid: ""
hristoeftimov
09/12/2017, 11:37 AMcount query
? I want to receive the number of the posts⦠I donāt need their titles, ids or something like that šmatty
09/12/2017, 11:42 AMmatty
09/12/2017, 11:43 AMmatty
09/12/2017, 12:13 PM[String!]
got transformed into [String!]!
matty
09/12/2017, 12:14 PMVariable '$tags' of type '[String!]' used in position expecting type '[String!]!'
matty
09/12/2017, 12:20 PM!
in the console and then use graphcool pull
. huh - strange.matty
09/12/2017, 12:20 PMpush
is not completely syncing the local filejoar
09/12/2017, 1:16 PMjoar
09/12/2017, 1:16 PMnilan
09/12/2017, 1:17 PMoperationBefore
and TRANSFORM_ARGUMENT
are identical, it's just a change in terminology that will take some time to be reflected everywhere (docs, console, ...)joar
09/12/2017, 1:20 PMFlo Ledermann
09/12/2017, 1:27 PM