Kervin Vasquez
06/10/2020, 8:44 PMuse(prisma({ features: { crud: true } }))
Kervin Vasquez
06/10/2020, 8:45 PMDanny
06/11/2020, 3:35 AMLewis
06/11/2020, 12:02 PMOmar Essayes
06/11/2020, 1:04 PMOmar Essayes
06/11/2020, 1:04 PMSameer kashyap
06/11/2020, 1:06 PMprisma
I was facing difficulty in using latest version of grapqhql
-cli
since I followed an old tutorial, what is the equivalent of >graphql get-schema
command in the latest version of 4.x.x to generate the schema file that prisma
exposes at the endpoint.Tiago Correia
06/11/2020, 2:59 PMexport const DateTime = asNexusMethod(GraphQLDateTime, 'date');
~~~~~~~~~~~~~~~
node_modules/graphql/type/definition.d.ts:298:3
298 specifiedByUrl: Maybe<string>;
~~~~~~~~~~~~~~
'specifiedByUrl' is declared here.
Yann Pringault
06/11/2020, 3:18 PMconst users = await prisma.users.findMany({
where: { id: session.userId },
select: {
id: true,
name: true,
posts: { count: true },
},
})
Is it possible to do something like this?Lewis
06/11/2020, 5:28 PMLewis
06/11/2020, 5:34 PMprisma.yml
file. Are you in the right directory?
Get in touch if you need help: https://slack.prisma.io
To get more detailed output, run $ export DEBUG="*"
(node:42834) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecatedLewis
06/11/2020, 5:34 PMLewis
06/11/2020, 6:05 PMLewis
06/11/2020, 6:06 PMNam
06/11/2020, 11:17 PMRobert Hall
06/12/2020, 2:03 AMRobert Hall
06/12/2020, 2:03 AMerror ...node_modules/@prisma/sdk: Command failed.
Exit signal: SIGSEGV
Command: node scripts/download.js
Arguments:
SureDroid
06/12/2020, 2:50 AMRuslan Baigunussov
06/12/2020, 12:49 PMMike SOK
06/12/2020, 2:58 PMthesunny
06/12/2020, 9:52 PMconst prisma = new PrismaClient()
. Should I use one instance for my entire app, one instance per web connection, or one instance per parallel call (ie. assume any Prisma calls are NOT reentrant).thesunny
06/12/2020, 9:53 PMthesunny
06/12/2020, 10:10 PMWarren Day
06/13/2020, 1:05 PMMax
06/14/2020, 5:13 AMChanlito
06/14/2020, 5:42 AMOmar Essayes
06/14/2020, 12:52 PMOmar Essayes
06/14/2020, 1:19 PMSameer kashyap
06/14/2020, 4:52 PMgraphql create myapp typescirpt-boilerplate
is not generating any files. and graphql-cli
has confusing documentation, I'm not able to generate a ts-prisma boilerplate could you please help me setting it up?Jonty Coertzen
06/14/2020, 7:29 PM