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

    Vinnie

    11/03/2017, 11:27 AM
    Thought as much, @Davide (Yes, Italian :))
  • p

    patrick

    11/03/2017, 11:52 AM
    Hey folks, quick question: has anyone tried both of these boilerplates? Pros and cons? https://github.com/react-boilerplate/react-boilerplate https://github.com/kriasoft/react-static-boilerplate
  • v

    Vinnie

    11/03/2017, 1:45 PM
    So, running graphcool login --token <mytoken> and the CLI is stuck on “Authenticating…” — what could I be doing wrong?
    n
    d
    • 3
    • 27
  • v

    Vinnie

    11/03/2017, 1:45 PM
    graphcool/0.8.5 (linux-x64) node-v8.2.0
  • m

    matic

    11/03/2017, 2:02 PM
    Hi! I am having problems with
    logs
    of functions, as I have around 600 logs and cannot see the last ones. Is there a way to clear the logs?
    n
    • 2
    • 2
  • r

    rein

    11/03/2017, 2:30 PM
    hey guys, I was wondering what the use case was for algolia vs graphgql search itself, lets say I want to search titles of posts, is that doable with just a simple search? I understand algolia provides geo location etc, which is helpful for searching users, but besides that, is there another big benefit?
  • r

    rem

    11/03/2017, 2:49 PM
    I'm pretty new to gql, but if I run a mutation that requires auth, is there any way to get the current authed user into the mutation - i.e. to say that "this thing belongs to the authed user"?
    a
    • 2
    • 2
  • s

    Syed Aman

    11/03/2017, 4:11 PM
    GraphCool is sooooo cool
    graphcool 2
    😎 4
  • s

    Syed Aman

    11/03/2017, 4:11 PM
    forreal, adding CRUD functionality to your backend in 2 minutes bwahhahaa
  • s

    Syed Aman

    11/03/2017, 4:11 PM
    Definitely gonna be using this
    n
    • 2
    • 1
  • m

    max

    11/03/2017, 4:21 PM
    Has anyone had the following error on a function activated following a create subscription?
    You are referencing a node that does not exist.
    It's almost like it's too quick and the node doesn't yet exist. As way of checking I completed my mutation in the playground and it worked.
    n
    a
    • 3
    • 18
  • s

    Syed Aman

    11/03/2017, 4:55 PM
    hey do we need to add the
    @relation
    directive whenever a Type has a field of some other custom type? such as:
    Copy code
    type User @model {
      id: ID! @isUnique
      createdAt: DateTime!
      updatedAt: DateTime!
      name: String
      email: String!
      dateOfBirth: DateTime
      account: Account! @relation(name: "UserAccounts")
    }
    
    type Account @model {
      id: ID! @isUnique
      createdAt: DateTime!
      updatedAt: DateTime!
      connectedUser: User! @relation(name: "UserAccounts")
    }
    👍 1
    n
    • 2
    • 2
  • s

    Syed Aman

    11/03/2017, 4:56 PM
    like, always?
    ✅ 1
  • r

    rem

    11/03/2017, 4:59 PM
    Can anyone point me to a pattern that would allow me to (for example) update a comment that was associated with a post, where I don't have the commentId - but do have the postId?
    s
    n
    • 3
    • 10
  • r

    rem

    11/03/2017, 4:59 PM
    (if that makes sense…)
  • k

    Kundan

    11/03/2017, 5:24 PM
    hey everyone, I need help regarding webhook i have inline code and it is giving me an error. example event has errors filed in it , so do i have to handle that error ??
    n
    • 2
    • 1
  • m

    max

    11/03/2017, 5:30 PM
    anyone else seeing
    io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
    when using
    graphcool deploy
    . I just keeping deploying until it goes through. Maybe there's load on the service
    n
    m
    • 3
    • 14
  • t

    Thorsten Habig

    11/03/2017, 5:35 PM
    isnt it possble to have a type twice on a model? how can i solve then the relation working properly? It is just a custom type which i want to save. Or should i then use a JSON scalar type to save it on database.
  • m

    mwickett

    11/03/2017, 5:38 PM
    I’m getting this:
    Copy code
    Global
        ✖ No field with id 'cj95vbsy93a4d0126p411la9g'
    When trying to deploy to an existing service. The deploy is making changes to my schema types.graphql (removing fields), so I’m using
    --force
    n
    • 2
    • 1
  • n

    nilan

    11/03/2017, 5:40 PM
    @Thorsten Habig please describe your situation & question in a new thread in the forum: https://www.graph.cool/forum/
  • u

    user

    11/03/2017, 5:40 PM
    @angly commented on @Thorsten Habig’s file

    https://prisma.slack.com/files/U7RGQ52V9/F7VQ0MVC7/image.png▾

    : It is possible.
  • a

    angly

    11/03/2017, 5:46 PM
    @Thorsten Habig Check my model.
  • t

    Thorsten Habig

    11/03/2017, 5:50 PM
    But how does the other relation look like? Does it also have the relation directive ?
  • a

    angly

    11/03/2017, 6:02 PM
    @Thorsten Habig You mean the other side? It's like this.
  • a

    angly

    11/03/2017, 6:03 PM
    So in my case it's two relations between two models. One-to-many and many-to-many.
  • p

    patrick

    11/03/2017, 6:05 PM
    Is there an example of sign in / sign up with Relay Modern + Graphcool + Auth0?
    n
    t
    • 3
    • 2
  • f

    foobar

    11/03/2017, 6:50 PM
    the forums are giving me this error. 😞 oh well.
  • m

    max

    11/03/2017, 8:09 PM
    does anyone know if you can re-use a single permission defintion across multiple different operation types on different node types? i.e.
    Copy code
    query adminRole($user_id: ID!) {
      SomeUserExists(filter: {id: $user_id, role: ADMIN})
    }
    a
    • 2
    • 10
  • u

    user

    11/03/2017, 8:14 PM
    @lancej commented on @Thorsten Habig’s file

    https://prisma.slack.com/files/U7RGQ52V9/F7VQ0MVC7/image.png▾

    : The relation name needs to be different
  • v

    Vinnie

    11/03/2017, 8:17 PM
    @max Are you trying to implement RBAC?
    m
    • 2
    • 1
1...408409410...637Latest