Moritz
03/14/2018, 4:25 PMseed.graphql
?nilan
03/14/2018, 5:10 PMMoritz
03/14/2018, 5:54 PMctx
variable?nilan
03/15/2018, 10:45 AMMoritz
03/15/2018, 12:55 PMcreate:
and cannot refer to a previously seeded object via connect:
, since I cannot access its id. Am I right or misunderstanding?
When you say connect to prisma via a binding like in the boilerplate, do you mean creating an instance like so? const prisma = new Prisma({
endpoint: process.env.PRISMA_ENDPOINT,
secret: process.env.PRISMA_SECRET,
debug: true
})
Could I also access the prisma binding from my server object created in the boilerplates index? Or is that not desired? Im not sure I understand what the context function means exactly.nilan
03/15/2018, 2:09 PMKATT
03/15/2018, 2:09 PMKATT
03/15/2018, 2:11 PMslug
to do the matching between products and brandsMoritz
03/16/2018, 11:47 AM