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

    mike.johnson

    07/22/2017, 5:34 AM
    can you query mutltiple types in one query?
    n
    • 2
    • 10
  • f

    frankspin

    07/22/2017, 7:43 AM
    I'm really struggling with updating my apollo store correctly. I have just a basic query to retrieve allClients. Sadly the apollo store is not updating when a new client is added in the graph.cool playground.
    n
    • 2
    • 8
  • d

    dbk40

    07/22/2017, 8:35 AM
    Maybe this is a silly question, but why are all the response messages duplicated? It it in the spec? Other implementations don't seem to do this.
  • r

    ryan

    07/22/2017, 9:07 AM
    Hello, quick question. I’m using React + Apollo + GraphCool (with Algolia), how do I re-render my page in response to a mutation which updates value on my Algolia index? The page is rendering with data getting back from Algolia not with a GraphQL query..Thanks!
  • i

    ilija_nl

    07/22/2017, 9:25 AM
    is it possible to have other primary field than ID
  • i

    ilija_nl

    07/22/2017, 9:25 AM
    so for example i have relation of [Posts], is it possible to see the title instead of the ID in the Data relation tab
    t
    • 2
    • 1
  • j

    joshpitzalis

    07/22/2017, 10:55 AM
    How does one add an array of Objects to a mutation in apollo-react? https://stackoverflow.com/questions/45253671/add-an-array-of-objects-to-a-mutation-in-apollo-react Any help at all will be much appreciated.
    n
    • 2
    • 2
  • u

    user

    07/22/2017, 11:26 AM
    @nilan commented on @dbk40’s file

    https://prisma.slack.com/files/U6C6E2VFV/F6C6E87S7/duplicates.png▾

    : we'll change this back to one Message soon, this is not intentional
  • k

    kiesco08

    07/22/2017, 2:23 PM
    https://www.learnapollo.com/tutorial-ios/ios-06 - The Pokedex Screen does not update after deletion of a pokemon. Does anyone know how to fix this?
    n
    • 2
    • 2
  • g

    giedriusr

    07/22/2017, 2:52 PM
    @joshpitzalis could you tell me what was that typo for your subscriptions to work?
  • g

    giedriusr

    07/22/2017, 3:47 PM
    so, once Type is created in Graphcool, type Query which lists all the records are created behind the scene and we don't need to do it manually?
    n
    • 2
    • 7
  • g

    giedriusr

    07/22/2017, 3:47 PM
    going through howtographql now
  • g

    giedriusr

    07/22/2017, 3:48 PM
    for instance, if I create Post type, I then can list all of the posts by queryins allPosts
  • g

    giedriusr

    07/22/2017, 3:52 PM
    what could be the best way of debugging if subscription works?
  • g

    giedriusr

    07/22/2017, 3:52 PM
    I mean.. console log shows that response is there
  • g

    giedriusr

    07/22/2017, 3:52 PM
    after having CREATE mutation
  • g

    giedriusr

    07/22/2017, 3:52 PM
    but the actual list is not being updated
  • g

    giedriusr

    07/22/2017, 3:52 PM
    I am doing something wrong but can't figure out what exactly
  • f

    freddie-codogo

    07/22/2017, 4:02 PM
    Are there any know issues between graph.cool and https://github.com/apollographql/subscriptions-transport-ws ? I keep getting the error
    A message was not sent because socket is not connected, is closing or is already closed. Message was: ${JSON.parse(serializedMessage)}.
    which I think might be due to
    keep-alive
    n
    • 2
    • 10
  • g

    giedriusr

    07/22/2017, 4:33 PM
    in this example I've found smth about refetch
  • g

    giedriusr

    07/22/2017, 4:33 PM
    https://github.com/graphcool-examples/react-native-graphql/blob/master/subscriptions-with-apollo/src/components/ListPage.js#L92
  • g

    giedriusr

    07/22/2017, 4:34 PM
    why its needed here?
    n
    • 2
    • 4
  • n

    nick.kozhukharenko

    07/22/2017, 5:51 PM
    how to incorporate graphcool-cli into CI process? It seems impossible because of `graphcool auth`prompted to authenticate in browser. My use case: when FE code is pushed to the branch ‘production’ circle.ci triggers app deployment. But if grahcool schema was changed as well - we have to ‘push’ manually (
    n
    • 2
    • 3
  • t

    the_bluescreen

    07/22/2017, 9:40 PM
    Released RAN! 0.3.0. Authentication finally arrived! to see all updates: https://github.com/Sly777/ran/releases/tag/0.3.0
    👍 3
    j
    • 2
    • 3
  • p

    paul

    07/23/2017, 2:30 AM
    I followed the auth0 tutorial but it doesn't seem to actually populate the user during auth? (it shows up in auth0 but graph.cool is empty)
  • b

    be4r

    07/23/2017, 2:35 AM
    your authenticated event has the refetch method? im also assuming you are using apollo client using network-only requests for user queries?
    p
    • 2
    • 1
  • m

    mj

    07/23/2017, 2:44 AM
    hi where can I find an example using enums?
  • a

    agartha

    07/23/2017, 2:50 AM
    Q: Was something changed in schema extension so that only the first query/mutation is picked up? @nilan
    n
    • 2
    • 1
  • j

    joshpitzalis

    07/23/2017, 3:42 AM
    I forgot to capitalise one of my Type names. But I think the subscription package is wonky. It sometimes works and sometimes doesn’t. I got everything working fine, haven’t touched my code and it stopped working again.
  • i

    ilkkavesa

    07/23/2017, 6:36 AM
    Hi all! Not sure if this a Graphcool issue, React Native, or just my code… But trying anyways 🙂 Trying to get line-breaks to work when string comes from Graphcool, but text is stubbornly rendered to one line. Any ideas what goes wrong? Thanks! // Text copy-pasted directly to Graphcool Console databrowser: // “first line // third line” <Text>{this.props.data.user.testText}</Text> // Outcome: // first line third line // Same thing locally: const testText = `first line third line`; <Text>{testText}</Text> // Outcome: // first line // third line
    n
    • 2
    • 2
1...282283284...637Latest