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

    chandlervdw

    09/28/2017, 2:28 PM
    I’m structuring things slightly differently than this but I do want to call the
    userQuery
    directly within one my React lifecycle method. How do I do that?
  • c

    chandlervdw

    09/28/2017, 2:30 PM
    I thought it would be
    this.props.data.refetch()
  • c

    cball

    09/28/2017, 2:30 PM
    @agartha appreciate the great forum reply re: SSS and push notifications! Can’t login atm so may followup a few things here as I’m digging in
    a
    • 2
    • 6
  • f

    freddie-codogo

    09/28/2017, 3:43 PM
    Hi peeps, can someone tell me if the subscription authentication tutorial found here will work for graphcool? http://dev.apollodata.com/react/subscriptions.html#authentication
    n
    • 2
    • 2
  • s

    Sindre Svendby

    09/28/2017, 4:09 PM
    If I need to do some aggregation would you guys recommend using graphcool or should I rather create and RDBMS and create some views that does that aggragation and put an graphql server on top of that?
    a
    s
    • 3
    • 3
  • m

    meikoudras

    09/28/2017, 6:57 PM
    I am currently having an issue. I have a required field enum of role on my User model. It also has a default which is “USER”. All my user create mutations worked fine without posting the role variable, but today I started getting errors that i am trying to null a non nullable field “role”. The only fix I had was to set the role field as not required. Can probably reproduce it and give a request id if it would help.
    n
    • 2
    • 1
  • m

    matty

    09/28/2017, 10:36 PM
    anyone having issues with using
    JSON.stringify
    in a SSS function? Code that was working before, now throws a circular reference error
  • m

    matty

    09/28/2017, 10:36 PM
    Part of the input object contains
    node.id
    ... did this recently update to become an object with a circular ref?
    n
    • 2
    • 1
  • m

    matty

    09/29/2017, 12:01 AM
    https://www.graph.cool/forum/t/feedback-new-cli-beta/949/15
  • m

    matty

    09/29/2017, 12:01 AM
    Anyone know how I can print this post? it seems to be using some type of virtualized view, so much of the pages are blank when i go file > print
  • m

    matty

    09/29/2017, 12:03 AM
    Ah - found it...
    ctrl + p
    👍 1
  • c

    coolboyjules

    09/29/2017, 12:18 AM
    hi all is there any way to debug 'an unexpected error occured' with a schema extension? :S
  • c

    coolboyjules

    09/29/2017, 12:19 AM
    i just some really cryptic 503 error
  • c

    coolboyjules

    09/29/2017, 12:19 AM
    and i have no idea what the issue is lol
  • c

    coolboyjules

    09/29/2017, 12:24 AM
    looks like the encoding of the message is all mangled oto
  • c

    coolboyjules

    09/29/2017, 12:24 AM
    too*. error here: https://github.com/graphcool-examples/functions/issues/82
    n
    • 2
    • 1
  • n

    naerikailash

    09/29/2017, 2:06 AM
    Hay I'm having a problem with deleted fields on a type profile. I deleted these as they were not being used and they are definitely not being called in any queries or mutations in my code. I receive an error message in my console any time i make a mutation: Uncaught (in promise) Error: GraphQL error: Something unexpected happened in an Action: 'Query does not pass validation. Violations: Cannot query field 'geoloc' on type 'Profile'. (line 22, column 5): geoloc ^
    n
    • 2
    • 1
  • s

    Sindre Svendby

    09/29/2017, 3:02 AM
    Copy code
    client.mutate(`
        createPerson (
            name: "Sindre Svendby"
        ) {
          id
          name
     }`).then(data => console.log('ok', data)
    .then(err => console.log('err', err)
    The result is
    ok undefined
    because I had forgotten the starting and ending brackets
    {}
    around.... but should not the server send back and error if it is not able to parse my request? Is this according to spec and the way people think it should behave?
    n
    a
    • 3
    • 7
  • w

    wontwon

    09/29/2017, 3:52 AM
    Hey everyone. I was wondering, in implementing something like Twilio, how do I go about querying multiple phone numbers in my database in order to send a single text message to all of them?
  • d

    dannyql

    09/29/2017, 9:04 AM
    How do you convert an Anon user to Email Pass?
    n
    • 2
    • 2
  • y

    yolen

    09/29/2017, 9:07 AM
    If something is missing in eth docs where to report it ?
    n
    • 2
    • 2
  • a

    agartha

    09/29/2017, 10:07 AM
    Hi, I am trying out a Graphcool implementation for Apollo Link to deal with errors properly, would it be easy to say which error codes are 'fatal' (should go into catch), and which are not (should go into then), from this list: https://www.graph.cool/docs/reference/simple-api/error-management-aecou7haj9/?
    n
    • 2
    • 3
  • j

    joar

    09/29/2017, 12:53 PM
    Are modules intended to come from the public?
  • j

    joar

    09/29/2017, 12:53 PM
    I have a push notifications module I think would be a good fit
  • j

    joar

    09/29/2017, 12:53 PM
    Is there a tutorial on creating / publishing one?
    n
    • 2
    • 1
  • j

    joar

    09/29/2017, 1:18 PM
    Any way to know what failed when I get this error?
    Could not create serverless function for ‘function-name’. Ensure that the code is valid
    n
    • 2
    • 1
  • j

    joar

    09/29/2017, 1:18 PM
    very very hard to debug
  • j

    joar

    09/29/2017, 1:19 PM
    especially when my linter shows 0 errors
  • d

    danny

    09/29/2017, 3:27 PM
    can I limit PAT (permanent access token) issued for my serverless function to only a single node?
    n
    • 2
    • 3
  • r

    rein

    09/29/2017, 6:13 PM
    does anyone have an example of authentication with graphcool in an expo project that makes use of react navigation?
    d
    s
    • 3
    • 2
1...353354355...637Latest