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

    pkunwar

    02/10/2017, 10:27 AM
    -.js
  • n

    nilan

    02/10/2017, 10:35 AM
    hey @pkunwar would be cool if you can ask questions like this in the #stackoverflow channel simple smile
  • n

    nilan

    02/10/2017, 10:36 AM
    hi @eric 👋 welcome to our Slack
  • t

    thisismissem

    02/10/2017, 12:07 PM
    @pkunwar dataloader.
  • n

    nilan

    02/10/2017, 12:09 PM
    Hey @matic 🙂
  • m

    matic

    02/10/2017, 12:29 PM
    Hi!
  • a

    aryan

    02/10/2017, 3:35 PM
    Hey guys, does use react-komposer to compose graph.cool data on the components? I'm trying to convert this:
    Copy code
    const ModuleWithData = graphql(FeedQuery, {
        options: (ownProps) => ({
          variables: {
            id: ownProps.params.moduleId
          }
        })
      }
    )(withRouter(Module))
    
    export default ModuleWithData
    to this:
    Copy code
    const FeedWithData = graphql(FeedQuery, {
        options: (ownProps) => ({
          variables: {
            id: ownProps.params.moduleId
          }
        })
      }
    )
    
    export default compose(withRouter, FeedWithData)(Module)
    But it shows me a blank page with nothing on the server or client. The weird part is that this works perfectly:
    Copy code
    const FeedWithData = graphql(FeedQuery, {
        options: (ownProps) => ({
          variables: {
            id: ownProps.params.moduleId
          }
        })
      }
    )
    
    export default (withRouter, FeedWithData)(Module)
    Any ideas what I might be doing wrong?
    n
    • 2
    • 26
  • a

    aryan

    02/10/2017, 3:35 PM
    sorry for the wall of code 😞
  • a

    aryan

    02/10/2017, 6:08 PM
    hey, in the playground, when I pick a user, it doesn't seem to have a "save"
  • a

    aryan

    02/10/2017, 6:08 PM
  • a

    aryan

    02/10/2017, 6:08 PM
    I can either click outside or on the "X", i think in both cases the user doesn't get selected?
    n
    t
    • 3
    • 15
  • a

    aryan

    02/10/2017, 6:29 PM
  • t

    ts

    02/10/2017, 8:53 PM
    What's the preferred approach for multi environment setups with Graphcool? Basically, same schema, different data
    n
    • 2
    • 6
  • j

    jarvis

    02/11/2017, 12:53 AM
    Hello everyone... Brand new just got the invite... Angular is primarily how we'll be doing front ends...
    n
    t
    • 3
    • 19
  • m

    mulyoved

    02/11/2017, 9:19 AM
    Hi, new here, have 1:m relationship is it possible to create the 1 and pass the m data as array in one mutation? or do I need to create mutation to fill the 1 and then create m mutation to fill the m parts? can point to example for this (riught now use lokka but I guess this is general GraphQL question)
    n
    • 2
    • 29
  • s

    sdubois

    02/11/2017, 9:22 AM
    @mulyoved: maybe this is relevant https://blog.graph.cool/improving-dx-with-nested-mutations-af7711113d6?gi=9932302e1d5c
  • m

    mulyoved

    02/11/2017, 9:33 AM
    thanks working for me
    👍 1
  • m

    mulyoved

    02/11/2017, 9:35 AM
    question regarding algolia integration, once all setup, should I run the search using algolia API or there a way to use GraphQL query?
    n
    • 2
    • 15
  • j

    joao.santos

    02/11/2017, 11:03 AM
    hi guys, does anyone here use create-react-app with graphcool?
  • w

    wallslide

    02/11/2017, 11:06 AM
    I am
  • w

    wallslide

    02/11/2017, 11:06 AM
    just in the early stages though
  • j

    joao.santos

    02/11/2017, 11:07 AM
    im a noob in programming and i cant connect one to the other..
  • j

    joao.santos

    02/11/2017, 11:07 AM
    can you give some pointers pls
  • j

    joao.santos

    02/11/2017, 11:07 AM
    ?
  • w

    wallslide

    02/11/2017, 11:08 AM
    I'm using the apollo client
  • j

    joao.santos

    02/11/2017, 11:08 AM
    oh ok
  • w

    wallslide

    02/11/2017, 11:09 AM
    there are several tutorials and example projects on both the graphcool and apollo sites
  • j

    joao.santos

    02/11/2017, 11:09 AM
    im aiming for the relay one
  • w

    wallslide

    02/11/2017, 11:09 AM
    from what I've seen, relay is more complicated
  • j

    joao.santos

    02/11/2017, 11:10 AM
    ok thx, ill try somewhere else... I think it would be a good move for graphcool to do a tutoprial connecting the 2 of them since many people use create-react-app to start learning.
    w
    n
    • 3
    • 11
1...102103104...637Latest