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

    olafur

    05/12/2017, 3:37 PM
    Cheers!
  • a

    aronio

    05/12/2017, 3:46 PM
    Thank you @artyom! Hi everyone 🙂
    👋 2
  • m

    monkeybonkey

    05/12/2017, 4:39 PM
    have mutation callbacks for relations been implemented yet? if not - is there a work around?
    n
    • 2
    • 1
  • d

    doug_w

    05/12/2017, 6:50 PM
    I can not get the react-apollo-auth0-example (https://github.com/graphcool-examples/react-apollo-auth0-example) to work for the life of me. I have attempted the process over and over. Clone the repo - add your Auth0 Keys - add the graphcool API create the Posts/ Update Users in graphcool etc etc… No matter what I do it doesn’t appear to actually log the user in. There are no errors to track down. Wether I try creating a user or logging in - I just get rerouted back to the unlogged in view
  • d

    doug_w

    05/12/2017, 6:50 PM
  • d

    doug_w

    05/12/2017, 6:51 PM
    It never actually creates a User in my Graph.cool DB either. Not sure what to debug here. Given I cloned the official repo of the tutorial.. I am not sure what’s broken. Any advice?
  • d

    doug_w

    05/12/2017, 6:56 PM
    Is it something to do with the ‘lock’ ? I even tried delieveraly breaking the
    createUser
    function inside of
    components/CreateUser
    like so ->
    Copy code
    createUser = () => {
        const variables = {
          noArgsTest: "Thats right"
        }
    
        this.props.createUser({ variables })
          .then((response) => {
              this.props.router.replace('/')
          }).catch((e) => {
            console.error(e)
            this.props.router.replace('/')
          })
      }
    And this does not throw an error or affect anything at all 😕
  • d

    doug_w

    05/12/2017, 6:56 PM
    variables is supposed to look like:
    Copy code
    const variables = {
          idToken: window.localStorage.getItem('auth0IdToken'),
          emailAddress: this.state.emailAddress,
          name: this.state.name,
          emailSubscription: this.state.emailSubscription,
        }
  • d

    doug_w

    05/12/2017, 7:03 PM
    The tutorial says you only need to add
    <http://localhost:3000>
    to the list of CB urls, but sometimes I get this error, which I tried adding, and didn’t help
    n
    • 2
    • 58
  • d

    doug_w

    05/12/2017, 7:04 PM
  • j

    jasonbahl

    05/12/2017, 8:52 PM
    what tool do ya'll use to build your tutorials like learnapollo.com and learnrelay.org? Or is it just custom-built?
    n
    • 2
    • 6
  • k

    kmeillet

    05/12/2017, 9:21 PM
    How do we choose between Relay and Apollo ?
  • k

    kmeillet

    05/12/2017, 9:21 PM
    -for React with Next.js -
  • s

    skhamis

    05/12/2017, 9:25 PM
    I found http://www.codazen.com/choosing-graphql-client-apollo-vs-relay/ to be very helpful in deciding between the 2
    👍 1
    ❤️ 1
    n
    s
    • 3
    • 3
  • s

    skhamis

    05/12/2017, 9:26 PM
    though it might be a bit dated
  • a

    artyom

    05/12/2017, 9:43 PM
    @mina @fabricius @vgrafe @ericf89 hi there and welcome to graphcool ! In case you're here for Graphql-Europe, head to #graphql-europe-comm ;) 🖖
    👋 1
  • d

    doug_w

    05/12/2017, 9:44 PM
    Man I want to make my own emoji! graphcool
  • a

    artyom

    05/12/2017, 9:45 PM
    Some day, young padawan, some day...
  • d

    doug_w

    05/12/2017, 9:45 PM
    🤓
  • a

    artyom

    05/12/2017, 9:49 PM
    Image uploaded from iOS.(null)
    🚀 1
  • a

    artyom

    05/12/2017, 9:49 PM
    There we go, finally hahaha
  • d

    derbingle

    05/13/2017, 1:53 AM
    Hey guys, quick question: is there any way to change this setting, either globally or per model/field.
    Even though DateTime values are stored in UTC, they are displayed in your local time zone when using the console.
    In this case, I’m storing birth/death dates of long-dead authors. When stored at
    00:00:00Z
    , after
    -0500
    is added in the console it displays the day before.
  • k

    kmeillet

    05/13/2017, 2:49 AM
    I've some trouble with permission query
  • k

    kmeillet

    05/13/2017, 2:51 AM
    If 1 node doesn't return true for some permission query, the entire query is skip with a null result ? I just need to skip the node for security reason, not all result 😕 .
  • k

    kmeillet

    05/13/2017, 2:51 AM
    query ($node_id: ID!, $user_id: ID!) { SomeBusinessExists(filter: { id: $node_id, users_some: { id: $user_id } }) }
  • k

    kmeillet

    05/13/2017, 3:00 AM
    If only 1 Business node doesn't have the user, i got null. Instead of having just the user's business.
    n
    • 2
    • 20
  • p

    phil

    05/13/2017, 3:24 AM
    Is there a way to get a
    sum
    aggregate result from a query? eg. can I query for records, and just get back the total.
  • p

    phil

    05/13/2017, 3:36 AM
    Oh, looks liked it’s with the
    _all<XXX>Meta
    query.
  • p

    phil

    05/13/2017, 3:36 AM
    Is it cool to use that? Does the
    _
    imply it’s unstable, likely to change?
    n
    s
    • 3
    • 4
  • u

    2ne

    05/13/2017, 9:29 AM
    Does anyone know how to create a new project and get the instagram example project?
    n
    • 2
    • 2
1...183184185...637Latest