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

    artyom

    04/08/2017, 2:18 PM
    hi @ezu enjoy your saturday building on graphcool
  • m

    msell

    04/08/2017, 3:33 PM
    So one of the things I have heard about graphQL is that you can send it a query and it can retrieve the data from multiple data sources. In addition to databases, a graphQL query might reach out to an existing REST API. I cant find any examples of using Graphcool to get some data from existing rest api
    s
    • 2
    • 2
  • m

    msell

    04/08/2017, 3:33 PM
    is this possible?
  • a

    artyom

    04/08/2017, 4:17 PM
    @learningonthespot hi! glad to have you here 👋 graphcool
  • r

    rlew

    04/08/2017, 4:26 PM
    Given your typical todo example, how do you ensure that different users can only see the todos that they own? Can't seem to find anything in the documentation for this, just general "can write" settings.
  • s

    sorenbs

    04/08/2017, 5:29 PM
    Hey @rlew - please dm @nilan to be included in our beta program for advanced permissions 🙂
    😌 1
  • r

    rlew

    04/08/2017, 5:32 PM
    Thanks @sorenbs !
  • d

    dataknut

    04/08/2017, 6:35 PM
    Hi guys! I made a small webtask.io script for sending notifications to Slack via Incoming Webhook when
    is updated
    mutation callback. I get two requests when I make only one edit to the database. Shouldn't it only send one?
  • u

    user

    04/08/2017, 6:36 PM
    @dataknut commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WF7H467/2017-04-08_at_20.32.jpg▾

    : with this you don't need Zapier btw.
  • s

    sorenbs

    04/08/2017, 6:37 PM
    Super cool @dataknut 🙂 Do you receive the same data in both requests?
  • d

    dataknut

    04/08/2017, 6:37 PM
    yep
  • s

    sorenbs

    04/08/2017, 6:37 PM
    I’ll send you a dm to investigate
    👌 1
  • a

    artyom

    04/08/2017, 8:33 PM
    hey @robertb 👋 nice to see you! 🙂
  • r

    robertb

    04/08/2017, 8:43 PM
    Hi! 👋 Thanks!
  • j

    jshort

    04/08/2017, 11:05 PM
    Did something change on
    Copy code
    mutation {
      createUser(authProvider: {
        auth0: {
          idToken: "<idToken>"
        }
      }) {
        id
      }
    }
    😄 1
  • j

    jshort

    04/08/2017, 11:05 PM
    it is requiring an email now
  • j

    jshort

    04/08/2017, 11:07 PM
    never mind
  • j

    jshort

    04/08/2017, 11:07 PM
    had to delete required email field from my schema
  • h

    hueezer

    04/09/2017, 6:22 AM
    Hi! I ran into an error and was told I should talk to someone in this slack channel, can someone help? I can provide a request id.
    s
    • 2
    • 1
  • q

    quadsurf

    04/09/2017, 8:00 AM
    Question regarding declaring enum type in a mutation (syntax included). Why are my Enum! declarations not working?
    Untitled.js
  • q

    quadsurf

    04/09/2017, 8:07 AM
    and if possible, where in the docs is this explained? if i missed it, then my apologies
    s
    n
    • 3
    • 6
  • d

    dataknut

    04/09/2017, 10:38 AM
    If I want to “convert” a column with data and make it (1) unique, and (2) required. I guess I have to make a new column and migrate data from the existing over (provided that the data qualifies to the new constraints). I tried doing that in the databrowser, but it wasn't obvious how I should utilise the migration. Help me out?
  • u

    user

    04/09/2017, 10:50 AM
    @nilan commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : you don't have to create a new column for this specific migration
  • u

    user

    04/09/2017, 10:52 AM
    @dataknut commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : ok. So I managed to make it unique…
  • u

    user

    04/09/2017, 10:53 AM
    @dataknut commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : …but setting it as required, how does the migration option work?
  • a

    artyom

    04/09/2017, 11:39 AM
    @trond @cullan @danmartinez101 @gstbimo hello and welcome! enjoy your sunday with graphcool 🌞
    🙂 1
  • u

    user

    04/09/2017, 12:22 PM
    @nilan commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : do you have
    null
    values in that column?
  • u

    user

    04/09/2017, 12:55 PM
    @dataknut commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : nope
  • u

    user

    04/09/2017, 12:55 PM
    @nilan commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : then you should just be able to activate the required modifier
  • u

    user

    04/09/2017, 12:57 PM
    @dataknut commented on @dataknut’s file

    https://prisma.slack.com/files/U4PD6N1U0/F4WLX20G4/graphql.gif▾

    : sorry, how do I do that?

    https://dl.dropboxusercontent.com/s/ckyjok2ypqd8w60/2017-04-09%20at%2014.56.jpg▾

1...147148149...637Latest