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

    Attila

    01/30/2018, 6:59 AM
    no complex key support
  • a

    Attila

    01/30/2018, 7:00 AM
    lot of today basic "ORM" features are missing 😞
    n
    • 2
    • 1
  • f

    Fi1osof

    01/30/2018, 7:55 AM
    @Attila use deletemany. There all fields condition. Simple delete used WhereUniqueField
  • p

    patrick_madx

    01/30/2018, 8:05 AM
    the prisma deploy only seeds after the initial deploy, not after - anyone? 😅
    p
    • 2
    • 4
  • u

    user

    01/30/2018, 8:27 AM
    @max commented on @harrisrobin’s file

    https://prisma.slack.com/files/U4DQWN527/F90LGD49Y/screenshot_2018-01-30_00.10.40.png▾

    : @harrisrobin looks like you already have something running on that port.
  • q

    qsys

    01/30/2018, 9:59 AM
    I'm trying to create a use with a known auth0userid:
    Copy code
    mutation {
      createUser(
        email: "..."
        auth0UserId: "..."
        appMeta: {
        ...
        }
      ) {
        id
        appMeta {
          id
        }
      }
    }
    but that doesn't work: graphcool complains it doesn't know
    auth0UserId
    . But that field does exist (enabled auth0 integration).
  • q

    qsys

    01/30/2018, 9:59 AM
  • o

    orr

    01/30/2018, 10:26 AM
    I just deployed remotely but am unable to do so locally. Anyone have experience fixing such issues? I deployed successfully (locally), then commented out some lines, tried to re-deploy locally, and now get
    Server responded with 400
    every time I try to re-deploy. Is there any option other than wiping my local cluster clean and rebuilding? (I have lots of local data I don't want to lose). Just to be clear, I was able to deploy remotely after I commented out the lines.
    • 1
    • 1
  • h

    heresandyboy

    01/30/2018, 11:25 AM
    Subscriptions: Hi, looking for a bit of advice and clarity. I'm using Prisma as the DB ORM, wrapped in my own GraphQL API. My clients will only call my API, no direct interaction with Prisma. I want to make use of subscriptions. Obviously the subscriptions need to go through my API. Prisma offers a comprehensive subscription API ( https://www.prismagraphql.com/docs/reference/prisma-api/subscriptions-aey0vohche ). How can I make use of this via my own API, given that the client will not be interfacing with Prisma. Is there an easy way of wrapping those subscriptions in my own API, any examples around?
    m
    • 2
    • 2
  • l

    Limansky

    01/30/2018, 12:06 PM
    hey, guys, I'm looking for a way to achieve subscriptions on my graphcool-framework backend api node, through some 3rd-party event, not from mutation, is it possible in graphql?
  • l

    Limansky

    01/30/2018, 12:08 PM
    is there any example for graphcool-framework with such MQ data source? https://www.apollographql.com/docs/graphql-subscriptions/external-pubsub.html
  • n

    Nick Luger

    01/30/2018, 12:18 PM
    Could prisma run on AWS Elastic Beanstalk? See here: https://www.graph.cool/forum/t/production-ready-prisma-on-aws-eb-ecs-what-are-valid-options/2380/1
    ☝️ 1
    👍 2
  • d

    divyendu

    01/30/2018, 1:53 PM
    Is there a way to follow (tail) prisma logs prisma cluster logs -f does not work!
    ✅ 1
    n
    • 2
    • 2
  • v

    veksen

    01/30/2018, 2:34 PM
    So, I've had this error for the past 2 days. My schema did not change. I've also tried last 5 previous code revisions, too, which were all working):
  • n

    nilan

    01/30/2018, 2:36 PM
    @veksen please provide a reproducible bug report here: https://github.com/graphcool/prisma/issues 🙂
    v
    d
    • 3
    • 11
  • w

    wesbos

    01/30/2018, 3:25 PM
    @nilan In this example - is Post imported from the prisma.graphql file? Or is it commented out? Trying to figure out why we don’t need to define the Post type, but we do the user https://github.com/graphql-boilerplates/node-graphql-server/blob/master/advanced/src/schema.graphql#L1
    d
    l
    • 3
    • 10
  • h

    hvdklauw

    01/30/2018, 3:26 PM
    The user definition overwrites the other one, to exclude password
  • h

    hvdklauw

    01/30/2018, 3:26 PM
    So you don’t expose it on your public api 🙂
  • w

    wesbos

    01/30/2018, 3:27 PM
    Ah - makes sense, so we don’t need to define anything in the schema if it’s already in the datamodel?
    d
    • 2
    • 1
  • h

    hvdklauw

    01/30/2018, 3:27 PM
    Exactly
  • w

    wesbos

    01/30/2018, 3:27 PM
    thank you 🙂
  • w

    wesbos

    01/30/2018, 3:34 PM
    any ETA on the table view of Prisma data? Would love the Graphcool interface
    💯 1
    j
    l
    +2
    • 5
    • 35
  • w

    wesbos

    01/30/2018, 3:41 PM
    Another question - thanks for Bearing with me. My playground shows all these when I search - how can I use them? Don’t I need to expose them via my yoga server? http://wes.io/pAah
    v
    d
    w
    • 4
    • 8
  • w

    Wincent

    01/30/2018, 3:50 PM
    I get ettor message when upgrading my graph cool project
    The project could not be ejected because it has enabled integrations. Please migrate all integrations to resolvers first.
    n
    • 2
    • 1
  • w

    Wincent

    01/30/2018, 3:51 PM
    I use the email-passord auth integration, are there any recommended upgrade paths?
  • s

    steven

    01/30/2018, 3:53 PM
    this looks like a nice intro series to prisma

    https://www.youtube.com/watch?v=uyOI-hUU00A▾

    👌 2
    🚀 1
    👍 6
    💯 1
    n
    • 2
    • 4
  • j

    jschloer

    01/30/2018, 4:05 PM
    (Prisma) I'm trying to better understand the import statement at the top of the schema.graphql. It seems like I can import anything at all and that it will import the whole generated/prisma.graphql file. Is that right, and is that intended to work that way indefinitely? I mostly want to know if I should be individually importing my generated types, or if there's some sort of import * syntax. Could anyone point me towards an issue or documentation on its usage? Thanks!
    w
    n
    +2
    • 5
    • 22
  • p

    preetb123

    01/30/2018, 4:22 PM
    getting error while
    prisma deploy
    to local cluster(initial deploy was successful, this one is after adding some type and updating the database). I am trying example from the above video
    Copy code
    $ prisma deploy
    Booting local development cluster !
     ▸    Pulling prisma-database (prismagraphql/prisma:1.0)...
     ▸    1.0: Pulling from prismagraphql/prisma
     ▸    Digest: sha256:1313afdd92cd1f4ed595f826d2d80549ddd01ed0562f04d91ee03dc73908456e
     ▸    Status: Downloaded newer image for prismagraphql/prisma:1.0
     ▸    Pulling prisma-db (mysql:5.7)...
     ▸    5.7: Pulling from library/mysql
     ▸    Digest: sha256:7cdb08f30a54d109ddded59525937592cb6852ff635a546626a8960d9ec34c30
     ▸    Status: Downloaded newer image for mysql:5.7
    Creating local_prisma-database_1 ... error
     ▸    Creating local_prisma-database_1 ...
    Creating prisma-db ... done
     ▸    ERROR: for local_prisma-database_1  readlink /var/lib/docker/overlay2/l: invalid argument
     ▸    
     ▸    ERROR: for prisma-database  readlink /var/lib/docker/overlay2/l: invalid argument
     ▸    Encountered errors while bringing up the project.
     ▸    
    
    Get in touch if you need help: <https://www.graph.cool/forum>
    To get more detailed output, run $ export DEBUG="*"
    raven@2.3.0 alert: failed to send exception to sentry: Socket timed out on request to <http://sentry.io|sentry.io>
    Upgraded
    prisma
    but still getting
    Copy code
    $ prisma deploy
    Booting local development cluster !
     ▸    readlink /var/lib/docker/overlay2/l: invalid argument
     ▸    
    
    Get in touch if you need help: <https://www.graph.cool/forum>
    To get more detailed output, run $ export DEBUG="*"
    n
    • 2
    • 3
  • q

    qsys

    01/30/2018, 4:23 PM
    Did someone manage to get rs256 JWT (from auth0) working with graphcool (cloud)? If so, how... 😛?
    e
    l
    p
    • 4
    • 7
  • a

    alexwasik

    01/30/2018, 5:15 PM
    👋
1...551552553...637Latest