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

    Arber

    03/01/2020, 2:54 PM
    "Variable '$data' expected value of type 'EventCardCreateInput!' but got: {\"description\":\"arber\",\"date\":\"2=2=2=2\",\"users\":[\"ck6ky0h3wpzzs0975vzueix4p\",\"ck73mb5r53iiz0939dhnbycqe\"],\"addedBy\":{\"connect\":{\"id\":\"ck73m3ukj3hb8093949yf01bm\"}}}. Reason: 'users' Expected 'EventCardCreateusersInput', found not an object. (line 1, column 11):\nmutation ($data: EventCardCreateInput!) what i am trying to do is just give an array of users on the mutation arguments and it shows me this error.
  • c

    Choong Seng Wei

    03/01/2020, 2:57 PM
    Hi guys, I having an issue on prisma for my use case, hope you guys can help. So my use case is using prisma to intropect multiple db and storing their
    prisma generate
    -
    node_modules/@prisma/client/index.js
    file into some places, so that i will be able to use it somewhere else. the current issue for me is that whenever i run prisma generate, the node_modules/@prisma/client/index.js will get replace and it will cause conflict when i run concurrent prisma generate command. Any way i can get over this?
    o
    • 2
    • 2
  • j

    John Smeeth

    03/02/2020, 9:40 AM
    hi all
  • j

    John Smeeth

    03/02/2020, 9:43 AM
    I’m follow this https://www.howtographql.com/graphql-python/9-relay/ to learn graphql in Django Python, I don’t know how to check authen for the field using
    relay.Node.Field
    this is my code https://bpaste.net/LFVA . Anybody can give me an adivse? My post maybe wrong because it related to Python/Django but i’m really don’t know where to post it. Many thanks
  • m

    mikkelsl

    03/02/2020, 1:46 PM
    Anyone who can recommend a blog, article og docs, when it comes to (best practices with regards to) error logging and logging in general? An implementation with graphql-yoga or similar would be great too 🙂
    👍 1
    👀 3
    h
    • 2
    • 5
  • h

    hueuebi

    03/03/2020, 11:46 AM
    Hi, is there a nice graphql-yoga documentation anywhere? Also does it make sense to use yoga without prisma?
  • b

    Briggs

    03/03/2020, 3:48 PM
    @hueuebi I use it for non-prisma api on several apps, you just manualy have to define your input and output types but those can be in a seperate file than your schema and import them like you do with generated prisma types
    👍 1
    h
    d
    • 3
    • 11
  • v

    Vdrizzle

    03/04/2020, 6:50 PM
    Is it worth investing on Prisma 1? Would there be a migration path to v2? At our company we’re looking at graphql servers and we see a lot of upside in using Prisma.
    a
    • 2
    • 8
  • d

    Dan

    03/04/2020, 8:56 PM
    Seems there hasent been much updates on Prisma 2 in a while, any information out there on Prisma 2 updates?
    j
    • 2
    • 2
  • m

    Mike

    03/05/2020, 7:19 AM
    Hi
    👋 2
  • m

    Mike

    03/05/2020, 7:20 AM
    I use Prisma Cloud, but i dont understand why anybody can acces to my prisma admin
    d
    • 2
    • 1
  • b

    Boo

    03/05/2020, 8:40 PM
    Hello, I have an existing MySQL database that is hosted on heroku. I'm trying to setup Prisma with it.
  • b

    Boo

    03/05/2020, 8:40 PM
    I'm having a hard time doing so... When I do prisma deploy it says it can't connect to htttp:localhost, etc
  • b

    Boo

    03/05/2020, 8:42 PM
    Copy code
    version: "3"
    services:
      prisma:
        image: prismagraphql/prisma:1.34
        restart: always
        ports:
          - "4466:4466"
        environment:
          PRISMA_CONFIG: |
            port: 4466
            # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
            # managementApiSecret: my-secret
            databases:
              default:
                connector: mysql
                host: 
                database: 
                user: 
                password: 
                rawAccess: true
                port: '3306'
                migrations: false
    👍 1
  • b

    Boo

    03/05/2020, 8:42 PM
    Is there anything specifically I need to add here?
    c
    • 2
    • 1
  • b

    Boo

    03/05/2020, 8:43 PM
    Copy code
    docker ps
    outputs just this
  • b

    Boo

    03/05/2020, 8:58 PM
    Seems like I'm getting denied...
    Copy code
    Access denied for user '...' to database 'prisma'
  • a

    Andrés Villalobos

    03/05/2020, 10:17 PM
    Hi, is there any tutorial about advanced queries somewhere for Prisma 1?
    c
    • 2
    • 35
  • y

    yolen

    03/06/2020, 7:07 AM
    Is it possible to make read-only types ? or in general to limit access to some types in the schema?
  • j

    Jonathan

    03/06/2020, 3:23 PM
    Hey folks, what CI/CD deployment do you guys that is not heroku? Trying to couple my netlify frontend pipeline to something nice for the backend
  • j

    José da Mata

    03/06/2020, 7:05 PM
    Hi guys! I'm looking for disabling Prisma Admin from the Prisma Server, along side the dashboard. I use those for development, and they are great, but I don't really need to have them running on a production environment
  • j

    José da Mata

    03/06/2020, 7:05 PM
    Is there a way?
  • j

    José da Mata

    03/06/2020, 7:06 PM
    I know I can block that access on AWS or I can create an access token, but I would rather have them not running if that would be possible
  • j

    José da Mata

    03/06/2020, 7:28 PM
    Anyway, thanks for your help!
  • b

    Benjamin Wilson

    03/07/2020, 3:35 PM
    I just signed in to my app.prisma.io to view my dashboard and my server / all my services are gone. Anyone else? Any known issues?
  • t

    Taylor

    03/07/2020, 8:13 PM
    Hey guys
  • t

    Taylor

    03/07/2020, 8:13 PM
    does anyone know how I would do the following
  • t

    Taylor

    03/07/2020, 8:13 PM
    return this:
  • t

    Taylor

    03/07/2020, 8:14 PM
    [[ { name: 'full_name', values: [Array] }, { name: 'how_many_miles_has_the_car_done?', values: [Array] }, { name: 'phone_number', values: [Array] }, { name: 'what_is_the_reg_number_of_the_car?', values: [Array] } ]]
  • t

    Taylor

    03/07/2020, 8:14 PM
    in my data model?
1...350351352...637Latest