dohomi
09/26/2018, 10:24 PMdohomi
09/26/2018, 10:26 PMKai
09/27/2018, 3:16 AMgo4cas
09/27/2018, 7:04 AM/graphql
call which contains data from multiple of these services, what would be the best approach? Is this where schema stitching comes in? Is there a suggested pattern (or maybe some sample code) of how to do this in the Prisma ecosystem?AzuriteJP
09/27/2018, 9:45 AMaman06
09/27/2018, 2:43 PM[GraphQL error]: Message: Whoops. Looks like an internal server error.
Chris H
09/27/2018, 4:23 PMDrew Delianides
09/27/2018, 4:34 PMctx.db.query.foo({ where: { id: 1 }}, '{ bar }');
Drew Delianides
09/27/2018, 4:35 PMArgument of type '"{ bar }"' is not assignable to parameter of type '{ [key: string]: any; } | undefined'.
steveb
09/27/2018, 4:44 PMsteveb
09/27/2018, 4:44 PMHenry
09/27/2018, 4:47 PMsteveb
09/27/2018, 4:47 PMsteveb
09/27/2018, 4:48 PMIndustrial
09/27/2018, 5:59 PMIndustrial
09/27/2018, 6:06 PM{ trader: String, category: String, type: String, base: String, quote: String, timestamp: String, open: String, high: String, low: String, close: String, volume: String }
Industrial
09/27/2018, 6:06 PMIndustrial
09/27/2018, 6:07 PMIndustrial
09/27/2018, 6:08 PMhudsonb
09/27/2018, 6:08 PMJFXPanel
goIndustrial
09/27/2018, 6:10 PMupdateManyX
doesn't do an insert 🙂Industrial
09/27/2018, 6:13 PMupsertX
Industrial
09/27/2018, 6:13 PMIndustrial
09/27/2018, 6:25 PMmutation upsertMarket(
$trader: String!,
$base: String!,
$quote: String!,
$category: String!,
$type: String!
) {
upsertMarket(
where: {
id: "123"
},
create: {
trader: $trader
base: $base
quote: $quote
category: $category
type: $type
},
update: {
trader: $trader
base: $base
quote: $quote
category: $category
type: $type
}
)
}
valstu
09/27/2018, 8:54 PMprisma introspect
? After running it I’m getting following error
TypeError: Cannot read property 'datamodel' of undefined
valstu
09/27/2018, 8:55 PMdatamodel-xxxxxxx.prisma
file is created but also getting that errorvalstu
09/27/2018, 9:18 PMZach
09/27/2018, 11:30 PMkitze
09/28/2018, 5:59 AMresolvers.ts
file in the generated
folder. However, after running prisma deploy
or prisma generate
that file is not generated anymore. Is there a flag that I'm missing or something?knowbody
09/28/2018, 9:27 AMField "createdAt" is not defined by type PlaceCreateInput; did you mean createdBy?
and I'm not sure what it is about