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

    lewisblackwood

    07/23/2018, 11:53 AM
    Has anyone seen a
    prisma export
    command from the CLI hang? It gets stuck on `Downloading nodes...". This is connecting to a Prisma cluster on Digital Ocean. Is there anything I can do to see a debugging output?
    d
    • 2
    • 6
  • l

    lewisblackwood

    07/23/2018, 1:46 PM
    Another question - I'm testing updating my Prisma cluster version, locally to begin with. I've updated the version in my
    docker-compose.yml
    and run
    docker-compose pull
    , which was successful. If I run
    docker ps
    , the container is still shown to be running the old version. Should it have changed? How can I verify that the container is now updated?
  • s

    siyfion

    07/23/2018, 1:50 PM
    Anyone have any idea why this might happen?
    ERROR_-_Deadlock_found_when_trying_to_get_lock__try_restarting_transaction.sh
  • s

    siyfion

    07/23/2018, 1:53 PM
    I’m getting this after running my seed.js file… I think it’s hitting the Prisma server pretty hard, but it’s not exactly a huge number of writes..?
  • m

    Martin

    07/23/2018, 4:38 PM
    Deployed to AWS Fargate - works great - but defaults to HTTP, any tips to enable SSL?
  • b

    brandon

    07/23/2018, 5:00 PM
    Has anyone run into the issue when running the command
    Copy code
    prisma deploy
    it gets stuck on "Applying CHanges (13/9)"?
    d
    • 2
    • 12
  • b

    brandon

    07/23/2018, 5:01 PM
    There's no error codes, just is stuck on applying changes.
  • a

    aroman

    07/23/2018, 5:14 PM
    Hello, using a GraphQL API gateway how would I handle authorization/permissions to microservices using schema stitching? I want the gateway to handle authorization without having to add tokens to each microservice
    l
    • 2
    • 7
  • b

    bastian

    07/23/2018, 5:26 PM
    Does anyone have experience with
    prisma + postgres + ssl
    ? I cannot figure out how to set it up properly. How do I add my certificate to the prisma deployment?
    j
    • 2
    • 1
  • t

    tafelito

    07/23/2018, 8:42 PM
    Hey guys, I’m sure some people already asked this before, but is there any reason why SQL / SQLLite is not on the future plans (if it isn’t)? Is DataLoader the best solution for that?
    l
    h
    • 3
    • 14
  • a

    Andres Espinosa

    07/24/2018, 2:47 AM
    how can i move my local prisma server to prisma cloud?
    d
    • 2
    • 5
  • g

    Gorodov Maksim

    07/24/2018, 4:36 AM
    I need to do something every N time and I'm thinking to use node-schedule for that but I cannot get how can I make queries and mutation inside this function since it is not a resolver. I tried to do like this, but it doesn't work because
    server.context
    doesn't have value
    prisma
    - https://gist.github.com/SilencerWeb/dc1acd12c123969f6c7fd39e680a7830#file-server-js-L27
    d
    • 2
    • 2
  • z

    zak.singh

    07/24/2018, 6:44 AM
    For anyone using AWS Cognito with Prisma: How are you syncing your DB with Cognito? I'm thinking of using the PostConfirmation lambda trigger to write users directly into a table. Is there any problem with that method?
    d
    • 2
    • 1
  • p

    patrick_madx

    07/24/2018, 9:26 AM
    Hi does anyone know which is better (if there is any): Option 1: One instance
    Copy code
    context: req => ({ ...req, db })
    Option 2: New instance per request
    Copy code
    context: req => ({
        ...req,
        db: new Prisma({
          fragmentReplacements,
          endpoint: process.env.PRISMA_ENDPOINT,
          secret: process.env.PRISMA_SECRET,
          debug: false
        })
      }),
    d
    • 2
    • 1
  • j

    Jang

    07/24/2018, 9:51 AM
  • j

    Jang

    07/24/2018, 9:53 AM
    Hi everyone i try to export my data but always got error Anyone saw it before? and how can i fix this
    d
    • 2
    • 1
  • m

    Max Hodges

    07/24/2018, 10:35 AM
    any eta on one-click deploy to Google CLoud? Not sure if we should just wait a few days or weeks, or try to figure out how to do this ourselves . . .
    d
    f
    +2
    • 5
    • 17
  • s

    siyfion

    07/24/2018, 2:00 PM
    Am I right in saying that if, in your own GraphQL API server, you do not pass the
    info
    argument through to the prisma query, you essentially have to manually re-implement all of the resolvers for “complex” fields?
  • s

    siyfion

    07/24/2018, 2:00 PM
    Because Prisma will only (by default) go and get the fields that exist on the “root” object type being queried.
  • s

    siyfion

    07/24/2018, 2:02 PM
    Which leads me too: if you modify the
    type
    in your API (so it’s not a 1:1 with Prisma) and then add a new field which is a simple object type, add a resolver for that type… The
    info
    argument can no longer be used?
  • s

    siyfion

    07/24/2018, 2:02 PM
    Thus… you have to re-do all the resolvers?
    l
    • 2
    • 3
  • m

    Moritz

    07/24/2018, 2:03 PM
    Hi all, I have implemented subscriptions, locally, they work fine. However, on
    now
    , I am currently getting this issue when running a subscription in the playground on the now server:
    Copy code
    {
      "error": "Could not connect to websocket endpoint <wss://xxx.now.sh/>. Please check if the endpoint url is correct."
    }
    two weeks ago, everthing worked fine with now. Any thoughts, how this could have happened? Did now upgrade something?
  • t

    tafelito

    07/24/2018, 2:52 PM
    regarding the issue #2225, did anybody implemented the Node resolver to hide the warning when using apollo-server 2.0?
  • k

    Khoa Huynh

    07/24/2018, 7:55 PM
    how can I get an eample of doing subscription in Prisma?
    l
    a
    • 3
    • 2
  • t

    taylor_

    07/24/2018, 10:52 PM
    hellooo
  • t

    taylor_

    07/24/2018, 10:54 PM
    anyone having issues with building your react apps with graphql-request?
    w
    a
    +2
    • 5
    • 7
  • w

    w0wka91

    07/25/2018, 12:17 AM
    Can i use the prisma-cli-engine to deploy during runtime?
  • r

    rem

    07/25/2018, 7:14 AM
    Does prisma support mongodb? It says it does on the landing page, but not here: https://www.prisma.io/docs/quickstart/connect - are the docs out of data, or is the landing page slightly ahead?
    h
    a
    l
    • 4
    • 5
  • j

    Jenkins

    07/25/2018, 7:32 AM
    Got an issue where I've got a type with two unique fields. Both of them are present as part of
    XWhereUniqueInput
    , but when I try to query with the second field (not the ID) it just spits back
    Variable \"$_v0_where\" got invalid value {\"y\":\"google\"}; Field \"y\" is not defined by type XWhereUniqueInput.
    The generated schema has:
    Copy code
    input XWhereUniqueInput {
    	id: UUID
    	y: String
    }
    d
    a
    • 3
    • 13
  • d

    develomark

    07/25/2018, 9:27 AM
    Just created an example showing how to deploy a Prisma Server to Now using the new Docker Build Env and Secrets Support just released by zeith. https://github.com/develomark/prisma-now
    👍 4
    🙌 3
    🚀 1
    n
    • 2
    • 4
1...888990...637Latest