rein
09/05/2018, 7:18 AMkratam
09/05/2018, 7:35 AMprisma deploy
Creating stage final for service hmm !
ERROR: Whoops. Looks like an internal server error. Search your server logs for request ID: eu1:management:cjloturst4to40b5805sqt56w
Is prisma down?Lucas Munhoz
09/05/2018, 2:37 PMinfo
in the resolver? Like merging the info
coming + some default fields I’ll need in field resolvers (like id)Jidé
09/05/2018, 3:17 PMcory
09/05/2018, 3:56 PMshane
09/05/2018, 4:14 PMconst MUTATION_STRING = isCancel ? MANAGE_ACCOUNT_MUTATION : DELETE_USER_MUTATION
const mutationFunc = isCancel ? updateUser : deleteUser // <-- in theory what I'd like to do
return (
<Mutation
mutation={MUTATION_STRING}
>
{/* v--- then call that conditional mutate function based on the MUTATION_STRING */}
{(mutationFunc, { loading, error }) => (...)}
patrickdevivo
09/05/2018, 4:56 PMSeppe Snoeck
09/05/2018, 9:02 PMsteve
09/06/2018, 4:50 AMsteve
09/06/2018, 4:50 AMsteve
09/06/2018, 4:51 AMsteve
09/06/2018, 4:51 AMsteve
09/06/2018, 4:51 AMsteve
09/06/2018, 4:51 AMsteve
09/06/2018, 4:52 AMsteve
09/06/2018, 4:52 AMsteve
09/06/2018, 4:52 AMsteve
09/06/2018, 4:56 AMsteve
09/06/2018, 5:08 AMrli
09/06/2018, 5:35 AMrli
09/06/2018, 5:35 AMHaider Malik
09/06/2018, 7:55 AM{
“error”: {
“message”: “Subscription field must return Async Iterable. Received: undefined”
}
}
//schema.graphgl
type Subscription {
course(where: CourseSubscriptionWhereInput): CourseSubscriptionPayload
}
//resolver
const {forwardTo} = require('prisma-binding);
Subscription: {
course: forwardTo('db')
}
jferrettiboke
09/06/2018, 9:15 AMVinnie
09/06/2018, 12:59 PMhalborg
09/06/2018, 1:03 PMhuv1k
09/06/2018, 2:25 PMval
09/06/2018, 3:52 PMType
created over the last X days". I know those queries are easy to write but I've little web frontend experience and am wondering whether something already exists that I can use?jcm
09/06/2018, 4:30 PMcory
09/06/2018, 5:02 PMisAdmin
column on that join table might be handy.rli
09/06/2018, 5:19 PM