https://www.prisma.io/ logo
Join Slack
Powered by
# orm-help
  • e

    Ethan Pursley

    03/20/2020, 1:15 AM
    just the
    prisma-prod
    container from dockerhub
  • a

    Alan

    03/20/2020, 1:15 AM
    there's a prisma.io/enterprise
  • e

    Ethan Pursley

    03/20/2020, 1:15 AM
    is that prisma 1 or 2?
  • a

    Alan

    03/20/2020, 1:16 AM
    i'm not too sure
  • a

    Alan

    03/20/2020, 1:16 AM
    i would assume it's 1 since prisma 2 isn't prod ready
  • e

    Ethan Pursley

    03/20/2020, 1:17 AM
    I’m sure they are running the same software, but who knows
  • a

    Alan

    03/20/2020, 1:19 AM
    it says that it can scale to a million requests per second đź‘€
  • e

    Ethan Pursley

    03/20/2020, 1:26 AM
    somehow i doubt it haha
  • a

    Alan

    03/20/2020, 1:41 AM
    will keep you posted on any changes
  • m

    MGH Developpers

    03/20/2020, 1:19 PM
    Hello who faced this problem .. and how to fix it https://github.com/prisma/prisma-admin-feedback/issues/158
  • p

    Peter

    03/20/2020, 4:04 PM
    Hey guys, this is somewhat of a silly question but I have a create react app deployed to a server, with prisma deployed to that same server
  • p

    Peter

    03/20/2020, 4:05 PM
    In the create-react app, I have set my endpoint to use localhost - however even after it's deployed it's using the client machine's localhost, not the server's localhost - what's going on? Do I have to specify my dev server's hostname instead of localhost? But that would mean I have to open up ports, although if the app was just serving itself locally there'd be less security concerns
    b
    • 2
    • 2
  • r

    Rain

    03/20/2020, 4:55 PM
    HI guys, I received a type error because of relation using Nest 7 datamodel
    Copy code
    type User {
      id: ID! @id
      email: String! @unique
      password: String!
      profile: Profile! @relation(link: INLINE)
    }
    
    type Profile {
      id: ID! @id
      picture: String
      user: User!
    }
    my nestjs graphql type
    Copy code
    // user.model.ts
    import { ObjectType, Field, ID, HideField } from '@nestjs/graphql';
    import { Profile } from './profile.entity';
    
    @ObjectType()
    export class User {
      @Field(type => ID)
      id: string;
      email: string;
      @HideField()
      password: string;
      profile: Profile;
    }
    
    // profile.model.ts
    import { ObjectType, Field, ID } from '@nestjs/graphql';
    import { User } from './user.entity';
    
    @ObjectType()
    export class Profile {
      @Field(type => ID)
      id: string;
      picture?: string;
      user: User
    }
    I received the following error
    error TS2741: Property 'profile' is missing in type 'import("/home/me/nest-graph/generated/prisma-client/index").User' but required in type 'import("/home/me/nest-graph/src/user/models/user.entity").User'.
  • r

    Rain

    03/20/2020, 4:56 PM
    I will need to remove the profile from my model to have the same type with prisma
  • t

    Thomas Erickson

    03/20/2020, 9:02 PM
    If anyone has the time I was hoping to open a thread to get some help. I cannot figure out what is going on
    j
    • 2
    • 11
  • j

    jt

    03/21/2020, 12:11 AM
    Need help with this over here if any of you wiz kids has a few minutes! Thank you so much! https://stackoverflow.com/questions/60783174/data-relationships-and-connection-types-with-mutations-in-prisma-graphql-and-a
  • m

    marcofaggian

    03/21/2020, 12:28 AM
    hi @everyone! I’ve messed up and set up a type named Subscription in the datamodel, now Subscriptions don’t work (obv). How to migrate the existing subscription data to another type?
  • s

    Samrith Shankar

    03/21/2020, 10:43 PM
    @jt still need help with that? I can help you over DM. 🙂
  • c

    Calvin

    03/22/2020, 2:01 AM
    is anyone using prisma 3 alpha or beta? is aggregation supported?
  • p

    Piotr

    03/22/2020, 4:03 AM
    Hi everyone, can someone help me to validate how does the
    prisma-client-go
    status looks like? Is there any channel I should follow regarding that client?
    👍 1
    r
    l
    • 3
    • 6
  • s

    Sebastian

    03/22/2020, 5:17 PM
    Hi, I’ve set rawAccess to true in docker-compose.yml, but Prisma Playground says “Cannot query executeRaw on type Mutation”. How can I debug this?
    • 1
    • 2
  • o

    Omar

    03/23/2020, 12:29 AM
    I'm missing something, why do resolvers don't show when running the demo server? they show up when running locally, but the generated resolvers disappear!!!
  • o

    Omar

    03/23/2020, 12:59 AM
    hopefully somebody answer this naive question
  • o

    Omar

    03/23/2020, 12:59 AM
    waiting......
  • l

    Leo Hui

    03/23/2020, 8:30 AM
    can’t init, anyone know what’s the problem ?
    • 1
    • 2
  • b

    bedeho

    03/23/2020, 3:58 PM
    Is it possible to introduce a user defined Scalar in the Prisma datamodel?
  • o

    Omar

    03/23/2020, 6:39 PM
    It's sad how nobody's helping nobody, even though such a great library should have a better support. We're not getting any; neither here nor on Github Should we abandon Prisma altogether?
    n
    • 2
    • 3
  • c

    Carlos Vizcaya

    03/23/2020, 7:58 PM
    Hello, I am trying to create a data and relate it to other data that have relation n: m (i hardcode the services to test)
    r
    • 2
    • 6
  • p

    prisma-chobo

    03/23/2020, 10:39 PM
    for aws lambda, should I use one api gateway per lambda?
  • p

    prisma-chobo

    03/23/2020, 10:41 PM
    cuz if one lambda handles multiple resolvers, i don’t think its efficient or reasonable to use lambda.
1...356357358...637Latest