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

    rein

    10/07/2017, 2:04 PM
    does it not check the cache first?
  • r

    rein

    10/07/2017, 2:05 PM
    thats why I originally thought it would be better to use the HOC more. Because, if the data is already in the store, the server is not being called anyway
  • r

    rein

    10/07/2017, 2:05 PM
    but maybe Im incorrect in that assumption
  • r

    rein

    10/07/2017, 2:09 PM
    is there a way you can monitor the request made to graphcool?
  • f

    florian

    10/07/2017, 2:32 PM
    @rein you could create a resolver for your model that logs the event and return the desired payload
  • d

    divyendu

    10/07/2017, 3:14 PM
    Does this question has an answer yet? https://www.graph.cool/forum/t/what-is-viewer-fixed/965
    n
    • 2
    • 1
  • r

    rein

    10/07/2017, 5:48 PM
    is it possible to delete a like but still return the user/post to which it was linked? I can return the id of the deleted like but user or post remains null when I put it in the mutation
  • m

    max

    10/08/2017, 12:03 AM
    is the permissions system on graphcool driving anyone else mad or just me?
  • m

    matty

    10/08/2017, 12:17 AM
    @max - join the beta and use the new CLI
    m
    a
    • 3
    • 10
  • m

    matty

    10/08/2017, 12:51 AM
    not currently possible to disable a function via the graphcool.yml file?
  • m

    matty

    10/08/2017, 12:52 AM
    I can see
    isEnabled
    in the docs, but not working with latest next cli
    a
    • 2
    • 7
  • m

    matty

    10/08/2017, 2:23 AM
    anyone know where https://github.com/graphcool/cli went to?
    a
    • 2
    • 1
  • m

    matty

    10/08/2017, 3:36 AM
    any tips on how to manage secrets locally? I've got graphcool.yml using the
    ${env:SECRET_VAR}
    syntax... just not sure of a solution that can be used to provision secrets locally & on the CI server?
    n
    • 2
    • 1
  • m

    matty

    10/08/2017, 3:41 AM
    since I'm using CircleCI, i was thinking i'd setup env vars there... and then store them locally in plain text
  • a

    abeagley

    10/08/2017, 4:43 AM
    Anyone having trouble accessing the console?
    n
    • 2
    • 2
  • c

    cartogram

    10/08/2017, 9:05 AM
    resolvers are v cool 🙂
    graphcool 4
    💪🏻 2
    🎉 2
    💯 1
  • c

    cartogram

    10/08/2017, 9:05 AM
    you guys are da best
    💚 4
    graphcool 1
  • h

    hasnat

    10/08/2017, 12:57 PM
    any plans to enable file upload straight from console?
    n
    • 2
    • 5
  • a

    Adam Kobyda

    10/08/2017, 1:13 PM
    Any way to write permission query that will allow not authenticated users to read the whole Document by providing secretToken stored in its field? Something similar to link sharing in google drive (in my case, anyone providing secretToken in a Document query can view).
    a
    • 2
    • 2
  • a

    ambethia

    10/08/2017, 2:11 PM
    ❤️ GraphCool, Keep crushing it you all
    💚 1
    💪🏻 1
    n
    • 2
    • 1
  • c

    Clay

    10/08/2017, 2:58 PM
    Hey, I’m wondering if there is any limitation on the amount of times, we can update the schema extension functions per day? I was debuging my functions and were updating it multiple times, and somehow I wasn’t able to update it anymore 😢 BTW: this already happen 3 times.
    n
    • 2
    • 5
  • m

    Miezan

    10/08/2017, 4:28 PM
    is the --schema option broken on graphcool@next ? running
    Copy code
    graphcool init --schema <https://graphqlbin.com/hn-starter.graphql> --name Hackernews
    returns
    Copy code
    Unexpected argument <https://graphqlbin.com/hn-starter.graphql>
    n
    • 2
    • 5
  • p

    panzupa

    10/08/2017, 4:34 PM
    Hi Guys, a question on integration with Auth0, I want to create users via API (I don't allow people to sign up). What are the steps to do that when I have auth0 integration enabled in GraphCool? Should I just create new instance of
    User
    or I need to directly create user on Auth0 side as well?
    n
    s
    • 3
    • 4
  • r

    rein

    10/08/2017, 4:36 PM
    is it not possible to add an optional before parameter in a query? When I try to add one as type ID and pass in null in some queries, I get an error.
    a
    • 2
    • 16
  • j

    jferrettiboke

    10/08/2017, 4:37 PM
    Hi! Where can I read more about creating functions in my local side?
    a
    • 2
    • 2
  • c

    Clay

    10/08/2017, 5:43 PM
    Hey again, I’m sorry for my frequent questions I’m trying to get auth token from graphcool user id for my custom facebook auth schema. Following example and test code https://github.com/graphcool/graphcool-lib/blob/master/test/test.ts#L33
    Copy code
    return graphcool.generateAuthToken(graphcoolUserId, 'User').then(resultToken => {
          console.log(resultToken)
        })
    However, the resolved promise does not seem to get called. I’m wondering if anyone could point me to the right direction for using
    generateAuthToken()
    a
    • 2
    • 5
  • j

    jt9001

    10/08/2017, 7:09 PM
    Does anyone have experience with permission tokens via graphql-client? I think I'm looking at this chunk of code I'm just not sure how to get it to work w/ my GraphCool token
  • j

    jt9001

    10/08/2017, 7:09 PM
    Copy code
    const client = new GraphQLClient('my-endpoint', {
      headers: {
        Authorization: 'Bearer my-jwt-token',
      },
    })
    a
    • 2
    • 7
  • r

    rein

    10/08/2017, 7:13 PM
    hi everyone, is it possible, if I delete an object through a mutation, to still return the updated relations? Like when I destroy a like, to get the post it belonged to and get an updated likeCount
    a
    a
    • 3
    • 5
  • t

    Tavo

    10/08/2017, 7:15 PM
    Hey guys! I’m a bit confused by a section in this tutorial: https://www.graph.cool/docs/tutorials/react-apollo-email-oopheesaj9/#2.2-handling-authenticated-status Not sure if anyone can help me understand this. What I understand is that this will fetch directly from the server the id and name, but how does the server know which user’s info to give back if the client doesn’t provide any information?
    a
    a
    • 3
    • 7
1...364365366...637Latest