cory
08/23/2018, 7:27 PMcory
08/23/2018, 7:39 PMkratam
08/23/2018, 8:11 PMschema.graphql
, graphql codegen -p app
fails with error: UnhandledPromiseRejectionWarning: Error: TypeError: Cannot read property 'type' of undefined
search(id: ID!, radius: Int!): [Apartment!]!
It seems it has a problem with the array because if I change the line to this (everything else remains the same), it works:
search(id: ID!, radius: Int!): Apartment!
Any suggestions?
(edit: the graphql server works perfectly with both versions, only the graphql codegen
command fails)catalinmiron
08/23/2018, 8:15 PM# import Apartment from "./generated/prisma.graphql"
? Also is the type in your datamodel.graphql
as well?catalinmiron
08/23/2018, 8:18 PMid
field seems wrong. 🙂Apple123
08/24/2018, 8:04 AMVanna
08/24/2018, 8:47 AMVanna
08/24/2018, 8:47 AMVanna
08/24/2018, 8:48 AMVanna
08/24/2018, 8:48 AMcatalinmiron
08/24/2018, 8:50 AMdata.value
is undefined. maybe you don't have any data.value
as arg in doAddPhoneNumber
callbackcatalinmiron
08/24/2018, 8:50 AMVanna
08/24/2018, 8:58 AMVanna
08/24/2018, 9:01 AMVanna
08/24/2018, 9:02 AMmike_moran
08/24/2018, 11:04 AMzonofthor
08/24/2018, 2:05 PMAlex Howard
08/24/2018, 2:26 PMPRISMA_CONFIG
env var with line breaks in it.. but I have my prisma server deployed on Amazon ECS which does NOT like supporting line breaks in env vars... is there an alternate way to provide this info?cory
08/24/2018, 2:42 PM_RelayId
table? \: ^\hw
08/24/2018, 3:47 PMtfiwm
08/24/2018, 5:12 PMKristof
08/24/2018, 5:58 PMKristof
08/24/2018, 5:58 PMstefan f
08/24/2018, 7:07 PMzak.singh
08/25/2018, 1:26 AMorderBy
provided by Prisma for the list of products since the average rating isn't stored in the database. How should I work around this?Seba
08/25/2018, 12:58 PMMarcus
08/25/2018, 4:56 PMMarcus
08/25/2018, 5:07 PMabhiaiyer
08/25/2018, 8:05 PMabhiaiyer
08/25/2018, 8:05 PM