Matt B.
06/26/2019, 7:03 PMlawjolla
06/26/2019, 7:26 PMEntrepreneur3
06/26/2019, 8:28 PMStephen Jensen
06/26/2019, 8:48 PM.env
in the same directory as your docker-compose file. Make variables like this in the .env file: MY_VARIABLE=soomething
then in the docker-compose you can call it like this: ${MY_VARIABLE}
Tyler Bainbridge
06/26/2019, 10:10 PMOlaf
06/27/2019, 3:17 AManthony
06/27/2019, 3:45 AMsiyfion
06/27/2019, 6:47 AMEntrepreneur3
06/27/2019, 9:48 AMError: Syntax Error: Expected Name, found EOF
I am using graphql-yoga 1.18.0 and prisma 1.34.
This error appears when I am trying to do a mutation which should save data into the database(without putting anything in the headers)
When putting something into the headers like "Content-Type": "application/json"
I get this error
Unexpected token < in JSON at position 0
Morten Bo RĆønsholdt
06/27/2019, 9:52 AMkoia
06/27/2019, 3:27 PMahebwa49
06/27/2019, 3:56 PMItemOrderByInput
according to the generated prisma.graphql
file. However, the GraphQL error in the console is stressing that Enum value 'createdAt_ASC' is undefined in enum type 'ItemOrderByInput'.
as shown in this imageEntrepreneur3
06/27/2019, 9:42 PMOnly absolute URLs are supported
Entrepreneur3
06/27/2019, 10:32 PMrequire('dotenv').config({ path: './config/dev.env' });
to the generated prisma-client index.js file to make my resolvers work without getting Error: Only absolute URLs are supported
That forces me to the dev environment without being able to do production environment on the fly..tafelito
06/28/2019, 3:42 AMtafelito
06/28/2019, 3:45 AMtafelito
06/28/2019, 3:46 AMMr tiger
06/28/2019, 5:11 AM@id
and @unique
in Prisma schema?Mr tiger
06/28/2019, 5:11 AMid
and when unique
Donnchadh
06/28/2019, 12:49 PMDonnchadh
06/28/2019, 12:50 PMSriharsha Guduguntla
06/28/2019, 10:58 PMbkstorm
06/29/2019, 8:11 AMts-node src/index.ts
. I try to update typescript to 3.5.2
but it doesnāt work. How to fix this error? Try to search on google but I havenāt found anyway.Ehsan sarshar
06/30/2019, 11:43 AMEhsan sarshar
06/30/2019, 11:44 AMEhsan sarshar
06/30/2019, 11:47 AMsixtatami
06/30/2019, 1:58 PMPeder Johnsen
06/30/2019, 11:49 PMPeder Johnsen
06/30/2019, 11:50 PMEhsan sarshar
07/01/2019, 4:38 AM