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

    cb

    02/05/2019, 8:50 PM
    200 is not an error code
  • c

    cb

    02/05/2019, 8:50 PM
    200 = OK
  • e

    Eric Bahr

    02/05/2019, 11:11 PM
    Quick Question: What's the best way to update something in-place with a mutation? Suppose I wanted to let users extend a comment. Is there anything better than querying the comment and then updating it with the results of the query?
    h
    • 2
    • 5
  • i

    Industrial

    02/05/2019, 11:39 PM
    Hi. Can prisma log all queries (and variables objects) happening for debugging?
    n
    • 2
    • 7
  • p

    Pkmmte

    02/06/2019, 12:55 AM
    Does anyone know if nested
    create
    mutations inside an
    update
    mutation are absolute or cumulative? For example: If I update a
    Menu
    to
    create
    more `Product`s, like so:
    Copy code
    mutation {
        updateMenu(where: {id: $id}, data: {
            products: {
                create: [
                    {}, ...
                ]
            }
        }) {
            id
        }
    }
    ... does this replace the products it already had or does it add them to the existing list?
    c
    • 2
    • 3
  • d

    denirachmadi

    02/06/2019, 2:32 AM
    hi guys im a new user of this graphql-boilerplates. i've installed graphql-cli. but i get some errors. thanks for your kind ly help on this 🙂
  • d

    denirachmadi

    02/06/2019, 2:32 AM
  • o

    ok

    02/06/2019, 2:53 AM
    Hey all! I'm wondering what channel would be right to ask a couple questions on migrating an existing RethinkDB + node WebSocket platform to Prisma.
    l
    • 2
    • 1
  • h

    Hamendra Bairwa

    02/06/2019, 7:12 AM
    Hello all, I want to know about graphql-request npm usage, can anyone tell me where should I query it?
  • h

    Hamendra Bairwa

    02/06/2019, 7:14 AM
    can anyone write a simple example of graphql-request mutation using authorization headers for me?
  • h

    Hamendra Bairwa

    02/06/2019, 9:03 AM
    Can anyone tell me how to write mutation in graphql-request with authorization headers?
    n
    • 2
    • 1
  • e

    Emil Forsmann

    02/06/2019, 11:49 AM
    Does anyone have any idea why i receive this error? i’m fairly new to graphql and prisma. I’ve tried to map out the situation
    fast parrot 1
    ➕ 2
    m
    • 2
    • 7
  • m

    Martí Crespí

    02/06/2019, 11:56 AM
    Hi, can someone share how configure a working file for environment variables? I have an .env.dev and .env.prod that both have
    PRISMA_ENDPOINT = "<http://localhost:4466>"
    , but when I execute
    prisma deploy --env-file .env.dev
    it shows me an error when it try to get it at prisma.yml with
    endpoint: ${env:PRISMA_ENDPOINT}
    Error >
    A valid environment variable to satisfy the declaration 'env:PRISMA_ENDPOINT' could not be found.
    👍 1
    k
    • 2
    • 2
  • r

    rein

    02/06/2019, 12:20 PM
    Hey guys, quick question, how difficult would it be to connect prisma to an existing mysql database that is currently connected to a rest api?
    u
    • 2
    • 1
  • w

    Will

    02/06/2019, 3:08 PM
    Anyone know the changes in v. 1.26
    m
    • 2
    • 2
  • i

    impowski

    02/06/2019, 3:46 PM
    As we can see here, there is an example with short date filter: https://www.prisma.io/docs/prisma-client/basic-data-access/reading-data-TYPESCRIPT-rsc3/#basic-filters-for-lists An example with just a year doesn't really work in real life so is there anything that I missed?
  • a

    Andres Montoya

    02/06/2019, 3:54 PM
    Hi, someone can help with this problem with react and graphql please 🙂❓ https://stackoverflow.com/questions/54557299/variable-file-of-type-upload-used-in-position-expecting-type-upload
  • b

    Ben Liger

    02/06/2019, 4:47 PM
    Does anyone know the status of this feature? https://github.com/prismagraphql/prisma/issues/146
  • b

    Brian

    02/06/2019, 5:30 PM
    Anyone having issues with Prisma demo servers? I’m getting some timeouts
    b
    • 2
    • 1
  • e

    ed

    02/06/2019, 6:27 PM
    Hi everyone I am using graphcool and I have this basic permission in my graphcool.yml
  • e

    ed

    02/06/2019, 6:27 PM
    Copy code
    # Event Permissions
    - operation: Event.read
    - operation: Event.create
      authenticated: true
    - operation: Event.update
      authenticated: true
    - operation: Event.delete
      authenticated: true
  • e

    ed

    02/06/2019, 6:28 PM
    it works querying from the playground it returns the data but when I do that query from the app it says `insufficient permissions"
  • e

    ed

    02/06/2019, 6:28 PM
    any ideas?
  • e

    ed

    02/06/2019, 6:28 PM
    thanks in advance
  • v

    vjsingh

    02/06/2019, 8:32 PM
    Is there a way to stop my prisma token from changing? It seems to change around every week or so, and I have to update the bearer-token in all my graphql-playground requests
  • c

    cb

    02/06/2019, 9:04 PM
    @vjsingh set a longer expiration time on your token when you create it
    v
    • 2
    • 11
  • l

    Luca

    02/06/2019, 9:21 PM
    Hey guys! I am trying to set up a new project with Prisma and would like to use Go. However, it seems that the Go support is not as great as NodeJS and also doesn't have an example for authentication. Also, I set up a new project and the indentation in the generated .go file was kind of weird. Is the Go generator (with postgres) considered production ready or should I rather use it with NodeJS?
  • l

    Luca

    02/06/2019, 9:26 PM
    Also, is there a way to deploy my stuff to my prod server without using prisma cloud? i.e. just open source tools?
  • c

    cb

    02/06/2019, 9:29 PM
    prisma supports anything that can connect to it with HTTP. Some languages like javascript, java, c# have libraries that make it simpler to access graphql based HTTP servers, but prisma itself does not care/or know what language talks to it
  • c

    cb

    02/06/2019, 9:30 PM
    You probably want to use something like https://godoc.org/github.com/machinebox/graphql to connect from your Go application
1...204205206...637Latest