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

    bkstorm

    02/21/2019, 8:35 AM
    Hi, what is wrong with my code? The error says:
    Type 'NexusInputObjectTypeDef<"AnswerInput">' is not assignable to type '"String"'
    j
    • 2
    • 3
  • a

    Andrei Bacescu

    02/21/2019, 8:46 AM
    Hello guys. Inside of my
    prisma.yml
    I have:
    Copy code
    generate:
      - generator: typescript-client
        output: ../src/generated/prisma-client/
      - generator:  graphql-schema
        output: ../src/graphql-schema/
    My question is: Can I replace
    schema.graphql
    with generated
    prisma.graphql
    file? Thanks in advance.
    j
    • 2
    • 2
  • b

    bkstorm

    02/21/2019, 10:01 AM
    Does anyone use nexus-prisma with
    Upload
    type supported by Apollo server? How to use it? 😄
    g
    b
    • 3
    • 4
  • i

    Ishaan

    02/21/2019, 11:02 AM
    Hello everyone. Can anyone help me with this? - graphql - prisma - typescript - serverless
    Schema.ts
    b
    j
    • 3
    • 5
  • l

    lewisedc

    02/21/2019, 11:34 AM
    Prisma cloud dev servers down?
  • l

    lewisedc

    02/21/2019, 11:34 AM
    EU
  • l

    lewisedc

    02/21/2019, 11:35 AM
    Copy code
    ERROR: GraphQL Error (Code: 503)
    
    {
      "error": "The server was not able to produce a timely response to your request.\r\nPlease try again in a short while!",
      "status": 503
    }
  • d

    divyendu

    02/21/2019, 11:39 AM
    Thanks! We are aware that both EU and US demo servers are facing an outage, I will notify here once it is resolved.
    ✔️ 1
    👍 2
    • 1
    • 1
  • j

    Jidé

    02/21/2019, 11:42 AM
    is this because demo servers are updated to next beta ? 😁
    d
    • 2
    • 2
  • m

    Martí Crespí

    02/21/2019, 2:05 PM
    Where can we see the changelog of each version? I have just uploaded to 1.27.0 and I would like to know what includes..
    j
    • 2
    • 1
  • i

    immediato

    02/21/2019, 2:36 PM
    anyone know how to solve this issue: No cluster set. Please set the “cluster” property in your prisma.yml. i’m seeing this error when i try to run: graphql get-schema -p prisma (more info in thread)
    h
    • 2
    • 17
  • c

    chandlervdw

    02/21/2019, 2:52 PM
    Any updates towards a MS SQL Connector? https://github.com/prisma/prisma/issues/1642 Trying to connect to Azure SQL…
    h
    • 2
    • 2
  • i

    immediato

    02/21/2019, 3:06 PM
    i’m now having trouble connecting to my local postgres db. i’m trying to use the Postico app on MacOS. the docker container is running but when i try to connect i get an issue that the connection was refused
    h
    • 2
    • 23
  • m

    Madhav

    02/21/2019, 3:33 PM
    Hey Guys, I have been working with prisma for a while. And now I am planning on pushing my service in production and would like to know what is the best practice to maintain redundency for my prisma server. I have been thinking of creating multiple server and putting it behind the load balancer but when I do that prisma deploy takes time to reflect the changes on all nodes. I wonder if there is any way to handle such scenarios. Any help would be appreciated. Thanks!
    d
    • 2
    • 2
  • l

    lindy

    02/21/2019, 5:28 PM
    Hi. I have a paid Prisma server on Prisma Cloud and have noticed this morning it is only returning a
    Whoops. Looks like an internal server error.
    This is happening in the playground and the data browser. Any help getting this running again would be awesome!
    h
    • 2
    • 11
  • d

    dan

    02/21/2019, 6:13 PM
    Is anyone deploying Prisma in production yet? How are you adding required fields to the datamodel?
  • d

    dan

    02/21/2019, 6:15 PM
    Right now the only way I see this possible is, Deploy as not required, run a migration, deploy again as required, hoping that no new rows are created in the meantime, there is no way this is the actual way to manage this, if it is, this is a large enough flaw to leave prisma and move to Hasura
  • c

    CCBCodeMonkey

    02/21/2019, 7:29 PM
    @dan the way you can add required fields, if its a new field is this:
  • c

    CCBCodeMonkey

    02/21/2019, 7:29 PM
    add the field, set a default value
  • c

    CCBCodeMonkey

    02/21/2019, 7:30 PM
    run the deploy, then set the field to required and run the deploy again
  • c

    CCBCodeMonkey

    02/21/2019, 7:31 PM
    I dont think there would be a concern about "hoping no new rows are created" if you have a default value
  • d

    dan

    02/21/2019, 7:33 PM
    Okay that solved a small concern, but deploying twice?! That has to be a joke…..
  • c

    CCBCodeMonkey

    02/21/2019, 7:34 PM
    I think its a bug(I am not on the prisma team)
  • c

    CCBCodeMonkey

    02/21/2019, 7:34 PM
    and I think there is an issue around it
  • c

    CCBCodeMonkey

    02/21/2019, 7:34 PM
    https://github.com/prisma/prisma/issues/2323
  • d

    dan

    02/21/2019, 7:34 PM
    Yup saw a few issues on this
  • c

    CCBCodeMonkey

    02/21/2019, 7:35 PM
    though I dunno if I had something in production if I would switch because of something like that
  • d

    dan

    02/21/2019, 7:35 PM
    This issue is so old and nothing is being done about it….
  • c

    CCBCodeMonkey

    02/21/2019, 7:35 PM
    you would probably be running an deployment script handling deploys, so it would just be modifying your script
  • c

    CCBCodeMonkey

    02/21/2019, 7:35 PM
    it was referenced in november
1...215216217...637Latest