callan
11/01/2018, 12:17 PMcallan
11/01/2018, 12:18 PMMutation
and Query
callan
11/01/2018, 12:18 PMconst Mutation: MutationResolvers.Type = {
//...
}
callan
11/01/2018, 12:19 PMcallan
11/01/2018, 12:19 PMcallan
11/01/2018, 12:19 PMcreateItem: async (parent, args, { db }, info) => {
const item = await db.createItem(args)
return item
},
callan
11/01/2018, 12:20 PMMutationResolvers.ArgsCreateItem
callan
11/01/2018, 12:21 PMdb.createItem
(from prisma-client) is ItemCreateInput
callan
11/01/2018, 12:21 PMcallan
11/01/2018, 12:21 PMtype | null
whereas the other is type | undefined
callan
11/01/2018, 12:23 PMItemCreateInput
and then it'll be accepted, i think... but yeah am i doing something wrong?callan
11/01/2018, 12:32 PMconst item = await db.createItem(args as ItemCreateInput)
callan
11/01/2018, 12:32 PMcallan
11/01/2018, 12:34 PMprisma-client
, since the types generated by graphqlgen are basically the samecallan
11/01/2018, 12:34 PMprisma-client
does notjdoyle112
11/01/2018, 1:15 PMcallan
11/01/2018, 1:54 PMforwardTo
with prisma-client
?yolen
11/01/2018, 2:13 PMMartin Hunt
11/01/2018, 3:07 PMrem
11/01/2018, 4:35 PMCould not connect to database. Prisma Config doesn't have any database connection
on prisma introspect
rem
11/01/2018, 4:35 PMrem
11/01/2018, 4:36 PMrem
11/01/2018, 5:13 PMrem
11/01/2018, 5:14 PMusers
Zefex Developer
11/01/2018, 7:01 PMbrandonmikeska
11/01/2018, 7:18 PMERROR: operator does not exist: integer = character varying
. Using an existing PG Database, and the foreign keys are on two varying char columns, but it looks like Prisma is still trying to generate the SQL and do a join by the built in ID field. Is there a way to correct this?UsulPro
11/01/2018, 7:50 PMThere are issues with the new service definition:
Global
✖ software.amazon.awssdk.services.lambda.model.TooManyRequestsException: Rate exceeded (Service: null; Status Code: 429; Error Code: TooManyRequestsException; Request ID: 077da308-de0f-11e8-b99c-5f65162f0014)
Here are your GraphQL Endpoints:
Tried multiple times with the same result ☠️yolen
11/01/2018, 7:54 PMDmitry
11/01/2018, 8:41 PMyolen
11/01/2018, 8:46 PM