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

    cryptomafia

    11/18/2017, 1:14 PM
    Is anybody experiencing this issue ? https://www.graph.cool/forum/t/graphcool-local-up-fail/1651
    a
    • 2
    • 2
  • k

    kguller

    11/18/2017, 1:45 PM
    Hello, anyone having trouble deleting in the Console Schema Admin?
  • j

    jimthedev

    11/18/2017, 4:17 PM
    Anyone using graphql framework see this key in the playground? https://www.graph.cool/docs/reference/auth/authorization/permission-queries-iox3aqu0ee/#opening-a-new-permission-query-tab
  • d

    daniele

    11/18/2017, 4:19 PM
    hi all I'm trying to slightly change the signup mutation but is keep complaining:
  • d

    daniele

    11/18/2017, 4:19 PM
    Copy code
    extend type Mutation {
      signupUser(email: String!, password: String!, name: String!, surname: String!, roles: [Role]!): SignupUserPayload
    }
  • d

    daniele

    11/18/2017, 4:19 PM
    Copy code
    Global
        ✖ Schema Extension Error for function 'signup': Relations are currently not supported. Field 'roles'
    n
    • 2
    • 1
  • d

    daniele

    11/18/2017, 5:09 PM
    @jimthedev I do
  • j

    jimthedev

    11/18/2017, 5:11 PM
    Hmmm. What version are you on @daniele
  • d

    daniele

    11/18/2017, 5:11 PM
    how ican see it?
  • d

    daniele

    11/18/2017, 5:14 PM
    sorry guys if I've a many to many mutation how I can update the value?
  • d

    daniele

    11/18/2017, 5:15 PM
    Copy code
    type User @model {
      id: ID! @isUnique
      roles: [Role!]! @relation(name: "UserOnRole")
    }
  • d

    daniele

    11/18/2017, 5:15 PM
    Copy code
    type Role @model {
      id: ID! @isUnique
      name: String!
      users: [User!]! @relation(name: "UserOnRole")
    }
  • d

    daniele

    11/18/2017, 5:15 PM
    this doesn't work
  • d

    daniele

    11/18/2017, 5:15 PM
    Copy code
    mutation {
     updateUser(id: "cja5iaehtza09013939hwk9vw", 
      roles: ["cja5esk7z7ix50131lbsuutum"] ) {
       id
     }}
  • d

    daniele

    11/18/2017, 5:35 PM
    seriously I've no idea what it's expecting
    h
    • 2
    • 6
  • r

    rein

    11/18/2017, 6:03 PM
    hi everyone, I was wondering if someone could give me some pointers to make a notification system for likes and comments etc. with graphcool subscriptions. I was thinking of making a Notification entity and then subscribe to it and filter on which ones are relevant for the current user. However, I was wondering if there was a more performant way to do it. The filtering would happen in the frontend so the app would get ALL notification updates of which maybe 5% are actually relevant to that user. Is there a server side filtering possible? Or is there a better way to do this?
    h
    a
    • 3
    • 13
  • c

    Connorelsea

    11/18/2017, 8:34 PM
    Hey, anybody experiencing this? I am getting this error when using the code from the email-password auth tutorial on graphcool. Anybody know how to fix?
  • u

    user

    11/18/2017, 8:37 PM
    @donedgardo commented on @Connorelsea’s file

    https://prisma.slack.com/files/U823D10NM/F823D8KTK/image.png▾

    : Thats wierd im running that exact code and no problems, what version is ur graphcool-lib @ ? mines at
    ^0.1.0
  • u

    user

    11/18/2017, 8:40 PM
    @Connorelsea commented on @Connorelsea’s file

    https://prisma.slack.com/files/U823D10NM/F823D8KTK/image.png▾

    : I'm on graphcool-lib version 0.0.3. Didn't know any better cause that's what they had on the example repo. I will update
  • m

    Marton

    11/18/2017, 9:17 PM
    Hi, is it possible to turn on facebook authentication on the client hosted on graph.cool? https://www.graph.cool/docs/tutorials/auth/authentication-with-facebook-for-react-and-apollo-yi9jeuwohl#implementing-facebook-authentication
  • d

    daniele

    11/18/2017, 9:23 PM
    Hi guys I'm having a super weird behaviour... I'm trying to perform a simple get but I get:
    Error: Network error: Cannot read property 'length' of undefined
  • d

    daniele

    11/18/2017, 9:23 PM
    the weird thing is that I don't see the service call in the network
  • d

    daniele

    11/18/2017, 9:24 PM
    I'm using apollo
  • d

    daniele

    11/19/2017, 5:47 PM
    Hi guys I'm trying to add the permissions to my post but it doesn't work. This is my graphcool.yml:
  • d

    daniele

    11/19/2017, 5:47 PM
    Copy code
    permissions:
    - operation: Company.read
      authenticated: true
  • d

    daniele

    11/19/2017, 5:47 PM
    in the header I'm passing:
  • d

    daniele

    11/19/2017, 5:47 PM
    Copy code
    Authorization:xxxx
  • d

    daniele

    11/19/2017, 5:48 PM
    I'm following this tutorial: https://docs-next.graph.cool/docs/tutorials/auth/authentication-with-email-and-password-for-react-and-apollo-cu3jah9ech#configuring-permission-rules
  • n

    nilan

    11/19/2017, 5:48 PM
    @daniele please refer to the Forum for broader discussions or questions about code: https://www.graph.cool/forum/ 🙂
  • d

    daniele

    11/19/2017, 5:48 PM
    sorry @nilan but I keep confused on for what is this slack channel
1...434435436...637Latest