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

    impowski

    09/09/2018, 11:45 AM
    @Nick are you here?
  • z

    zonofthor

    09/09/2018, 1:47 PM
    have to say - I think it's inappropriate to tag a forum moderator for debugging your problems, especially on a sunday... Prisma provides paid options for full service. IMHO
    💯 4
  • d

    Daniel

    09/09/2018, 8:17 PM
    @impowski context you call is updateUser but in your query you mention update users <-- users., if you dont attempt to single out a single user you should use a different call like updateManyUsers ?
  • d

    Daniel

    09/09/2018, 8:17 PM
    I just started using this, so i might be wrong just my 0,02c
  • d

    Daniel

    09/09/2018, 8:21 PM
    the node js boilerplate code provides alot of help and examples.
  • i

    impowski

    09/09/2018, 8:39 PM
    @Daniel Yeah you right about
    updateUser
    they work the same the only difference is that it updates many nodes and return a
    BatchPayload
    . My main concern is to be able to access fields from the same schema inside of update.
  • g

    giacomoguiulfo

    09/09/2018, 9:18 PM
    Hey does anyone know if Prisma has HTTP health check endpoints? Thanks!
    ➕ 2
    🙂 1
    s
    • 2
    • 3
  • a

    avdeveloper

    09/10/2018, 5:20 AM
    i feel so bad that i only visit this channel when i have an issue. Anyway, here's the issue i'm currently running into: I get a 5001 error when making a request to one of my local express server when using my
    graphcool playground --target=dev
    It says
    "function execution error: request to <http://MY_API_SERVER:3100/PATH> failed, reason: connect ECONNREFUSED 127.0.0.1:3100"
    • 1
    • 1
  • n

    Nils

    09/10/2018, 7:07 AM
    I seem to have a corrupted relations table in a graphcool database. Urgently need server-side help to fix it. Can anybody help?
  • n

    Nils

    09/10/2018, 7:08 AM
    After deploying a schema update there was an error message that said
    Whoops. Looks like an internal server error. Please contact us from the Console (<https://console.graph.cool>) or via email (support@graph.cool) and include your Request ID: eu-west-1:simple:cjlv40y0f0v1f0182phsfu1w3
    and now I'm also getting that in the dev console in my browser when trying to use the now broken app.
    m
    • 2
    • 1
  • n

    Nils

    09/10/2018, 7:09 AM
    If I try to use the CLI to export the database I get this error:
    Copy code
    Downloading nodes... 625ms
    Downloading lists... 279ms
    Downloading relations... ✔
    WARNING: Error: The download of relations failed. You may get fragmented data. Request ID: eu-west-1:simple:cjlv62k4z18pf0143mczgonc8
        at /usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-engine/src/Output/index.ts:209:41
        at SimpleAction.ActionBase.pause (/usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-engine/src/Output/actions/ActionBase.ts:65:17)
        at Output.warn (/usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-engine/src/Output/index.ts:206:17)
        at Exporter.<anonymous> (/usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-core/src/commands/export/Exporter.ts:100:18)
        at step (/usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-core/dist/commands/export/Exporter.js:32:23)
        at Object.next (/usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-core/dist/commands/export/Exporter.js:13:53)
        at fulfilled (/usr/local/lib/node_modules/graphcool/node_modules/graphcool-cli-core/dist/commands/export/Exporter.js:4:58)
        at process._tickCallback (internal/process/next_tick.js:68:7)
  • n

    Nils

    09/10/2018, 7:10 AM
    Can't clone the database in the console or view two of the tables (users and projects). I've spent two days trying to fix this, but it seems somebody at Prisma needs to help me. It's very urgent.
  • n

    Nils

    09/10/2018, 8:04 AM
    @nilan
  • a

    anton-b

    09/10/2018, 12:01 PM
    Is the search field broken on https://www.prisma.io/docs/ for anyone else?
    k
    i
    s
    • 4
    • 3
  • m

    Mlyck

    09/10/2018, 1:59 PM
    Hey 🙂 Does anyone know if there's still a slack for graph.cool or is it all only prisma.io now? (I have a graph.cool problem and I don't want to ask in the wrong place 😰 )
    h
    • 2
    • 1
  • w

    weakky

    09/10/2018, 3:17 PM
    Is the tutorial section broken as well for you guys ? https://www.prisma.io/docs/tutorials
    h
    • 2
    • 1
  • j

    Jerry Jäppinen

    09/10/2018, 5:15 PM
    I’m setting up production environments for my service, and was looking to do it with the Heroku integration. Given that the Heroku authentication still has issues though (it doesn’t work for me), I think I’m going to have to deploy my production DB to Heroku manually
  • j

    Jerry Jäppinen

    09/10/2018, 5:17 PM
    I do have a Docker setup for local development, and I saw that there is a tutorial for setting up Prisma on Digital Ocean. Is there anything special I should know, are there any better resources available, and do you guys think that you can figure out how to get everything set up with these materials?
    • 1
    • 1
  • j

    jdoyle112

    09/10/2018, 5:46 PM
    Hello all. Wondering if anyone in here is still using Graph.cool, and if they've noticed any performance issues as of late? My requests are typically taking over 1s. Is that unusuall?
    t
    d
    • 3
    • 30
  • t

    tomhut

    09/10/2018, 7:01 PM
    @jdoyle112 I noticed an uptick a week or two ago
  • b

    Bruno Prela

    09/10/2018, 7:19 PM
    Hello I was wondering if it was possible to use prisma for deploying to a schema not of the form service$schema
  • b

    Bruno Prela

    09/10/2018, 7:21 PM
    In particular, though a dollar sign ($) is part of the PostgreSQL standard, it is not part of the SQL standard (https://dba.stackexchange.com/questions/45589/what-are-the-valid-formats-of-a-postgresql-schema-name)
  • b

    Bruno Prela

    09/10/2018, 7:22 PM
    and im using a db versioning tool (Liquibase) for a multi-tenant solution, and it doesn’t like schemas with dollar signs in the names
  • b

    Bruno Prela

    09/10/2018, 7:23 PM
    One solution is to just use prisma for the initial deployment and rename the schema manually because I wont be touching it with prisma migrations from then on, but I was wondering if a more automated solution existed
  • k

    kratam

    09/10/2018, 7:42 PM
    anyone can link a working example repo using prisma + apollo server + subscriptions? I'm trying to set the context using:
    Copy code
    onConnect: (connectionParams: any, webSocket) => {
      return {
        foo: 'bar',
    }
    But the
    context
    is undefined in the subscription resolver.
    👍 1
    c
    • 2
    • 8
  • s

    Stefano T

    09/10/2018, 8:31 PM
    Hi everybody, i'm starting to worry about Prisma. Support seems to be unresponsive an chat and github as well. It's been like this for a week now, some serious issues are completely left behind without any feedback. I know this stuff is open source, but there are also billed services (graphcool) that are flawed and nobody at Prisma seems to care anymore. Anyway this is how I feel right now, I love their products. Some of us have production app running with this products, and some more communication/feedback would be very welcomed.
    ✔️ 1
    ☝️ 4
    💯 1
    h
    m
    +2
    • 5
    • 11
  • p

    peter

    09/10/2018, 9:11 PM
    where are the docs that detail how to configure prisma service for heroku, fargate, etc?
  • t

    Tanner

    09/11/2018, 3:43 AM
    anyone run into this
    prisma_db_introspection_1.PrismaDBClient is not a constructor
    while running
    prisma instrospect
    on step 6 on existing postgres db during the basic tutorial found here https://www.prisma.io/docs/1.16/get-started/01-setting-up-prisma-existing-database-a003/
  • m

    Mark

    09/11/2018, 4:14 AM
    anyone able to use
    graphcool export
    from graphcool CLI recently?
  • m

    Mark

    09/11/2018, 4:15 AM
    getting an error
    Cannot read property 'id' of undefined
1...114115116...637Latest