drk
06/07/2018, 11:35 PMdrk
06/07/2018, 11:36 PMDukuo
06/08/2018, 1:54 AMupdateUser
mutation.. should I need to mirror the inputs and all the generated stuff to my server's schema? That, or horde my schema.graphql with import
comments.Dukuo
06/08/2018, 2:04 AMpanzupa
06/08/2018, 8:53 AMpanzupa
06/08/2018, 8:54 AMpicosam
06/08/2018, 8:57 AMrein
06/08/2018, 9:33 AMpanzupa
06/08/2018, 9:53 AMauthenticate
is not nullable, but the function returned null." }`. How can I debug that?panzupa
06/08/2018, 9:53 AMpanzupa
06/08/2018, 9:54 AM"The payloadType for the resolver authenticate is not nullable, but the resolver returned null."
panzupa
06/08/2018, 10:06 AMpanzupa
06/08/2018, 10:08 AMgc logs
doesn't display messages logged by console.log('msg')
?panzupa
06/08/2018, 10:10 AM2018-06-08T09:43:18.358Z 2121ms FAILURE {
"error": "The resolver function authenticate is not nullable, but the function returned null."
}
Jan
06/08/2018, 11:02 AMpanzupa
06/08/2018, 11:17 AMFelix
06/08/2018, 12:50 PMprisma deploy
I get the errorFelix
06/08/2018, 12:51 PMFelix
06/08/2018, 12:52 PMFelix
06/08/2018, 1:10 PMFelix
06/08/2018, 1:10 PMprisma introspect
command. It was generating a type Int
for the timestamp. Changing it to Float
fixes the problemChinCluBi
06/08/2018, 1:55 PM{
"data": {
"updateOrder": null
},
"errors": [
{
"locations": [],
"message": "There can be only one input field named 'boolean'.",
"path": [
"updateOrder"
]
}
]
}
i’m try to run this mutation
mutation {
updateOrder(
where: {
id: "cjdg5pgbcl17b0134orwjp082"
}
data: {
status: DONE
}
) {
id
status
}
}
ChinCluBi
06/08/2018, 1:55 PMThere can be only one input field named 'boolean'
ChinCluBi
06/08/2018, 1:58 PMzonofthor
06/08/2018, 3:59 PMbrant
06/08/2018, 4:45 PMtimm
06/08/2018, 4:55 PMbrant
06/08/2018, 5:54 PMpanzupa
06/08/2018, 6:14 PMpanzupa
06/08/2018, 6:15 PM