Akshay
01/15/2019, 5:47 PMpancake
01/15/2019, 9:49 PMGraphQLServerLambda
as here: https://github.com/prisma/graphql-yoga/tree/master/examples/lambda.
If so, could you provide an example, I’m not having much success. If not, any suggestions?Luis Acerv
01/15/2019, 10:27 PMconst server = new GraphQLServer({
typeDefs: "./schema.graphql",
resolvers: resolvers,
context: req => ({
...req,
db: new Prisma({
endpoint: "<http://localhost:4466>",
debug: true
}),
graphqlAuthentication: graphqlAuthenticationConfig({
adapter: new GraphqlAuthenticationPrismaAdapter({}),
secret: "wherearemyshoes",
mailer,
mailAppUrl: "<http://example.com>"
})
})
});
I also have tried to set the endpoint as the public ip of the droplet and with 0.0.0.0
, the server endpoint is working and its accessible from playground, but when I try to fire the login mutation from the server the request hangs. Thanks for any help in advancemikedklein
01/16/2019, 1:54 AMmikedklein
01/16/2019, 1:54 AMmikedklein
01/16/2019, 1:54 AMmikedklein
01/16/2019, 1:55 AMprisma list
Shadab
01/16/2019, 7:04 AMyolen
01/16/2019, 10:46 AMfoo
using the prisma service. Right now foo
use a token generated using prisma token
. Since the token expires I need to renew the token. I consider setting up a service renewing the token every x minutes. I that the way to do it or are there other way?rem
01/16/2019, 1:15 PM"message": "A unique constraint would be violated on User. Details: Field name = emailAddress",
I'd like to intercept that message and make it user friendly so I can present it back to the site visitor.Errorname
01/16/2019, 3:23 PMalgil
01/16/2019, 4:40 PMdatamodel.prisma
file) in order to manage a login and a register endpoints. Is it possible with Prisma Cloud?Bruno Prela
01/16/2019, 5:17 PMJosh
01/16/2019, 5:22 PMJosh
01/16/2019, 5:22 PMJosh
01/16/2019, 5:23 PMrenegoretzka
01/16/2019, 6:10 PMrenegoretzka
01/16/2019, 6:12 PMrem
01/16/2019, 6:37 PMStephen Jensen
01/16/2019, 6:51 PMjdoyle112
01/16/2019, 7:08 PMserum
01/16/2019, 7:21 PMStephen Jensen
01/16/2019, 7:32 PMjdoyle112
01/16/2019, 7:33 PMLucas Munhoz
01/17/2019, 7:23 AMMJ
01/17/2019, 8:19 AMpllumh
01/17/2019, 9:25 AMuday
01/17/2019, 11:15 AMuday
01/17/2019, 11:18 AMRory Kelly
01/17/2019, 11:35 AM