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

    lucid_frog

    03/09/2018, 9:26 PM
    Hey guys, how does one seed a proper
    DateTime
    in the seed.graphql ? as a
    string
    or… ?
  • m

    matty

    03/10/2018, 3:13 AM
    Receiving intermittent 500 responses from Simple API
  • m

    matty

    03/10/2018, 3:13 AM
    eu-west-1
    👍 2
  • m

    matty

    03/10/2018, 3:20 AM
    I notice that this is a frequent issue with the Simple API, should I switch to Relay and the Relay API? 😞 https://status.graph.cool/
  • r

    Roman

    03/10/2018, 3:21 AM
    is relay more stable?
  • s

    sajmil

    03/10/2018, 3:23 AM
    there is not a day that goes by where I dont have 1+ hrs of connectivity issues with the simple API
    t
    • 2
    • 1
  • a

    allpwrfulroot

    03/10/2018, 3:28 AM
    Is Prisma Cloud more reliable than Graph.cool? My assumption was that it's all shared resources under the hood
    • 1
    • 1
  • m

    McArthur

    03/10/2018, 3:51 AM
    Anyone getting a bunch of timeouts from simple api right now. We have a big event going on with a bunch of users and the app is barely useable.
    s
    l
    +5
    • 8
    • 19
  • l

    Liam

    03/10/2018, 4:06 AM
    Hey guys, glad to be a part of the group. Hope I'm not asking anything overly redundant but can anyone point me in the right direction for some resources/answers on ES6 + async/await support with Graphcool? Most of my research seems to indicate async/await is not supported. Additionally, anyone have any helpful logging clients?
    m
    n
    • 3
    • 4
  • l

    lucid_frog

    03/10/2018, 1:24 PM
    Hey Guys: I’ve read in the doc that
    set: Override the existing list with an entirely new list.
    https://www.prismagraphql.com/docs/reference/prisma-api/mutations-ol0yuoz6go#updating-nodes But in practise, let’s say I have
    numbers: [1, 2, 3, 4]
    and then proceed to do a
    numbers: { set: [9] }
    (in a mutation.update) I would expect
    numbers
    to return
    [9]
    , but instead, I get
    numbers: [9, 2, 3, 4]
    Any idea as to why that is ?
    n
    • 2
    • 2
  • l

    lucid_frog

    03/10/2018, 1:24 PM
    I’m of course, talking about
    [Scalar list mutations]
  • t

    terion

    03/10/2018, 3:33 PM
    I'm sorry if it is written somewhere, but I can't find, Do Prisma resolve N+1 problem? I take 100 users with their friends, for example. Will it optimize queries?
  • t

    TroyZ

    03/10/2018, 3:57 PM
    @nilan I can we move our data to Prisma? I tried running the data export in Graph.Cool last night but it says : "error": "Insufficient permissions for bulk export" and I did go into my settings to get the bearer token for Authentication ... I also tried using a Permanent Token that I created.
    n
    • 2
    • 2
  • k

    kuldar

    03/10/2018, 4:01 PM
    I feel really dumb asking this but I couldn't find a clear answer from any of the docs – is there a simple way to create a batch of new node at once? I'm assuming this needs a custom Prisma (
    graphq-yoga
    ?) resolver that loops over an array and sends
    create
    mutations one by one?
    s
    • 2
    • 1
  • t

    terion

    03/10/2018, 4:16 PM
    @nilan?
    n
    • 2
    • 6
  • s

    steve

    03/10/2018, 5:41 PM
    Any news/updates on Simple Api Degradation? https://status.graph.cool/
  • s

    steve

    03/10/2018, 5:44 PM
    Simple API seems to experience these issues every few days - would be interested to hear any retrospectives that detail these persistent performance issues and any suggestions for dealing with them in production. They currently render our app unusable - which leads to support calls that we cannot respond confidently to 🙂
    w
    • 2
    • 1
  • v

    Vdrizzle

    03/10/2018, 8:39 PM
    Hi all Im trying prisma and following the tutorial “getting started” but seems like is out of date. Is there another tutorial for getting started that I could follow?
    n
    • 2
    • 4
  • j

    jamiehalvorson

    03/11/2018, 7:38 AM
    Hey, I’ve been having issues with nested mutations in prisma, I think it may just be that I’m expecting them to behave differently. When I do nested creates they appear to only update one relation, doesn’t seem to traverse up to the parent create: http://www.graph.cool/forum/t/deeply-nested-create-mutations/2798 wondering if anybody has an example of something similar working, thanks!
  • s

    suchy

    03/11/2018, 10:01 AM
    Hi, nowadays I can't find any docs says how can I deal withh user login / logout etc (in graphcool of course) any idea where can I find such an example?
    h
    • 2
    • 6
  • s

    signor_busi

    03/11/2018, 10:36 AM
    Is there a guide for migrating a legacy graphcool project to prisma?
  • s

    signor_busi

    03/11/2018, 10:38 AM
    I've tried to do it without a guide which worked quite well but now I'm missing the __meta fields. Does something like that exist in prisma? Or do i need to implement this myself?
    h
    • 2
    • 2
  • s

    signor_busi

    03/11/2018, 10:38 AM
    A short guide for questions like this would be very helpful
  • j

    jjaybrown98

    03/11/2018, 11:56 AM
    has anyone experienced an issue where generated files in prisma stop re-generating?
    n
    • 2
    • 5
  • m

    Maxime Scibetta

    03/11/2018, 2:52 PM
    Guys how cancel 20s timeout with prisma
  • s

    Shaikat

    03/11/2018, 3:36 PM
    hey guys, i was wondering if anyone had any insight if prisma had some kind of way to do row level security? i saw permissions can be used to secure root queries & mutations, but i can still traverse and grab data that i want to hide from the user
    n
    • 2
    • 1
  • d

    Daniel K.

    03/11/2018, 3:58 PM
    Hey, I am curious, with Prisma deployed to local cluster and navigating to
    <http://docker:4466/prisma/dev>
    I get the playground, but there is no schema I would be expecting to be able to interact with database schema through it Could that be a bug coming from the fact, that my Docker is running on a separate IP address, not localhost?
    i
    • 2
    • 17
  • e

    ehodges

    03/11/2018, 4:04 PM
    Any opinions on this article? https://www.rdegges.com/2018/please-stop-using-local-storage/
    i
    h
    l
    • 4
    • 18
  • s

    steve

    03/11/2018, 5:36 PM
    Hi all - Does anyone know if graphcool `enum`s have implicit deterministic ordering based on declaration?
  • q

    qsys

    03/11/2018, 6:38 PM
    so, we have functions and permissions. I'd expect that these permissions are for these functions. Something like User.read looks like a function to me, and we can add authorization there by doing something like:
    Copy code
    - operation: Users.read
        authenticated: true
        query: hasRoleAdmin.graphql
    When having a function of type
    operationBefore
    , how can I add authentication/authorization before that function? So:
    Copy code
    makeUser:
        type: operationBefore
        operation: User.create
        handler:
          code:
            src: ./src/befores/createUser.ts
            environment:
              ...
    Inside the
    src/befores/createUser.ts
    function, I call an external service, and if that one succeeds, another user can be created. However, this logic may only be executed when the user has proper rights. For now, it seems that adding:
    Copy code
    - operation: Users.read
        authenticated: true
        query: hasCreateUserPermission.graphql
    the query logic is executed 'after' the operationBefore query, which leads to weird results (on the external service, some stuff is added, but not on graphcool, since the user is not authorized to do so. I'd prefer to have the authentication logic be executed before the request pipeline. What is the intended behaviour? And if it is intended that the authentication is executed as the last one in the request pipeline, how to move it to the front of the pipeline?
    m
    • 2
    • 31
1...605606607...637Latest