nikolasburk
windkomo
06/09/2020, 12:26 PMrajit
06/09/2020, 4:36 PMgraphql-yoga-based server stopped working correctly when I increased the number of instances that Prisma server runs on.rajit
06/09/2020, 4:41 PMjoar
06/16/2020, 12:37 PMjoar
06/16/2020, 12:37 PMaldrian
06/19/2020, 9:36 AMLars-Jørgen Kristiansen
06/19/2020, 11:24 AMJames Potts
06/19/2020, 5:17 PMhackernews-node tutorial, a couple issues came up and I was hoping to verify the behavior I saw with the Prisma team. First, the AuthPayload in the schema.graphql file appears to be misconfigured since the user field is defined as having a required String! argument. However, when using the signup mutation, an error is returned indicating that
Field \"user\" must not have a selection since type \"String!\" has no subfields.
This is because the query provided in the tutorial has the two fields from the AuthPayload as return values. So, I updated the schema for the user field to include User! . Now, when I execute the signup mutation, it performs as expected. However, when an attempt is made to use the login mutation, this message is returned:
Variable '$where' expected value of type 'UserWhereUniqueInput!' but got: {\"email\":\"<mailto:alice@prisma.io|alice@prisma.io>\"}. Reason: 'email' Field 'email' is not defined in the input type 'UserWhereUniqueInput'. (line 1, column 8):\nquery ($where: UserWhereUniqueInput!) {\n ^Alan
06/21/2020, 8:38 PMprisma client in my resolvers. Eg:
async addresses(parent: any, args: any, ctx: any, info: any) {
const list = await ctx.db.query.addresses(args, info)
return list
}
Should I upgrade to Prisma client first? or prisma2 first?Suhail
06/23/2020, 7:28 AMError Cannot return null for non-nullable type . I added a new attribute name! in the data model file and then did prisma generate and prisma deploy. When I query, it gives the above errorSeungsu Kim
06/24/2020, 10:51 AMversion: "3"
services:
prisma:
image: prismagraphql/prisma:1.34
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
databases:
default:
connector: mysql
host: mysql
port: 3306
user: root
password: password
database: drcha
mysql:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
- mysql:/var/lib/mysql
volumes:
mysql: ~Tulsi Prasad
06/25/2020, 5:25 PMforwardTo function to bypass graphql server with prisma and I was thinking if its possible to use forwardTo with queries/mutations having different custom names rather than using the names which are already present in prisma.graphql (generated).Tulsi Prasad
06/25/2020, 5:28 PMconst Query = { items: forwardTo("db") } // `items` keyword is defined in our prisma.graphql
what if we want to have a query of any custom name, (say message) and forward it to items type?Ashwin Kudva
06/25/2020, 6:12 PMprisma init, with an existing MySQL database running locally, but when I do this I get the following error - TypeError: Cannot read property 'startsWith' of undefined. Does anyone have an idea of what this could be?Luca Cattide
06/26/2020, 10:27 AMprisma deploy
I’m getting an exception:
ERROR: GraphQL Error (Code: 404)
{
"error": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /management</pre>\n</body>\n</html>\n",
"status": 404
}
I’m not getting this because I set the secret key both on prisma.yml than on docker-compose.yml. Am I missing something?
It seems an auth error but it could be related to mongo itself?Luca Cattide
06/26/2020, 10:30 AMprisma init
defines a set of local mongo dbs, something that currently I don’t have on the remote dbLuca Cattide
06/26/2020, 10:32 AMAshwin Kudva
06/26/2020, 7:38 PMdefault@default. Is there a way to change tables that Prisma looks at?beeman
06/29/2020, 6:09 AMDetail: User does not have CONNECT privilege. - not sure if anyone sees something similar?Luca Cattide
06/29/2020, 7:25 AMERROR: GraphQL Error (Code: 404)
{
"error": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /management</pre>\n</body>\n</html>\n",
"status": 404
}
Any suggestion?Abhischek
06/30/2020, 12:36 PMRinat
07/07/2020, 10:06 AMorg.postgresql.util.PSQLException: ERROR: odyssey: cf65a9f0be57b: user blocked
org.postgresql.util.PSQLException: ERROR: relation "Migration" does not existRinat
07/07/2020, 10:21 AMkhareta
07/08/2020, 12:16 PMsasi
07/09/2020, 7:45 AMsasi
07/09/2020, 8:11 AMqsys
07/09/2020, 9:40 AMsasi
07/14/2020, 1:39 PMsasi
07/14/2020, 1:49 PM