Pieter
11/10/2020, 9:38 PMManthan Mallikarjun
11/11/2020, 3:21 AMHarrison Ekpobimi
11/11/2020, 9:05 AMERROR: Variable "$input" got invalid value {"workspaceSlug":null,"clusterName":"default","serviceName":"new-leaders","stageName":"develop"}; Expected non-nullable type String! not to be null at value.workspaceSlug.
{
  "errors": [
    {
      "message": "Variable \"$input\" got invalid value {\"workspaceSlug\":null,\"clusterName\":\"default\",\"serviceName\":\"new-leaders\",\"stageName\":\"develop\"}; Expected non-nullable type String! not to be null at value.workspaceSlug.",
      "locations": [
        {
          "line": 2,
          "column": 17
        }
      ],
      "code": 222
    }
  ],
  "status": 400
}Jijin P
11/11/2020, 11:39 AMawait prisma.offers.findMany({
        where: {
            status: {
                lt: offers.statusValue //based on any other field on that table
            }
        }
    })stevefan1999
11/11/2020, 5:50 PMstevefan1999
11/11/2020, 5:50 PMstevefan1999
11/11/2020, 5:51 PMSpencer Curry
11/11/2020, 6:43 PMUpdating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [9]
Application startup error! Code: APP_CONTAINER_CRASHED
> med-planner-server@1.0.0 start /app
> node ./graphql/index.js
/app/node_modules/.prisma/client/index.js:3
    throw new Error(
    ^
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.Omar Harras
11/11/2020, 11:08 PM// query 
query {
  allAlbums {
    name
    artist {
      id
      lastName
    }
  }
}
// schema
model Artist {
  id        String  @id @default(cuid())
  firstName String
  lastName  String
  stageName String
  cover     String
  age       Int?
  biography String?
  song      Song[]
  album     Album[]
}
model Album {
  id       String  @id @default(cuid())
  name     String
  cover    String
  genre    Genre?  @default(POP)
  artistId String?
  artist   Artist? @relation(fields: [artistId], references: [id])
}
the query returns a list of albums but Artist is null, knowing that I have the artistId in the albums table in db…
anyone can help please ?Mike Dietz
11/12/2020, 8:45 AMChristopher Yovanovitch
11/12/2020, 10:24 AMChristopher Yovanovitch
11/12/2020, 10:24 AMNatalia
Justin Ellingwood
11/12/2020, 4:44 PMMarvin
11/12/2020, 8:17 PMprisma migrate . When I run it, I get a "permission denied to create database" error. Sounds reasonable for me because the database isn't mine but why wants prisma to create a new database instead of the tables?ינון אלבז
11/13/2020, 8:50 AMSamrith Shankar
11/13/2020, 10:20 AM# schema.prisma
datasource db {
    provider = "postgresql"
    url      = "file:./test.db"
}
For postgres? I need to create a mock db for tests in order to not pollute production database. Right now I am getting this error (which is clear):
Error validating datasource `db`: The URL for datasource `db` must start with the protocol `postgresql://`Mike Dietz
11/13/2020, 11:09 PMcellograph
11/14/2020, 8:19 AMJoshua_Oxner
11/14/2020, 1:28 PMBen Schwartz
11/16/2020, 2:38 PMNatalia
Spencer Curry
11/16/2020, 8:38 PMbntzio
11/16/2020, 11:32 PMKJReactor
11/17/2020, 1:33 AM_const_ _user = await _prisma_.user.findMany({
        where: {
          OR: [
            { email: {equals: _email_} },
            { phone: {equals: _phone_} }
          ]
        },
take: 1
for some reason result that don't satisfy either conditionsMike Dietz
11/17/2020, 5:01 PMauthor: User! @relation(name: "UserToPost", onDelete: SET_NULL)
 comments: [Comment!]! @relation(name: "CommentsToPost", onDelete: CASCADE)Marvin
11/17/2020, 5:46 PMDrew Fleming
11/17/2020, 7:40 PMprismagraphql/prisma:1.34 image) so I can use the playground with SQL Server, but it fails for unknown connector when running docker-compose up -d (I tried 'sqlserver'). Is this supported, and if not, does anyone know of a way to create a GraphQL playground?Lasse Abelsen
11/18/2020, 12:01 PM