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

    ambethia

    01/30/2017, 7:25 AM
    πŸ˜„
  • n

    nilan

    01/30/2017, 6:43 PM
    hi @gaba, welcome to our Slack πŸ‘‹
  • m

    martin

    01/30/2017, 8:53 PM
    @nilan: Playground docs won’t let me scroll (in Chrome; Safari works).
  • g

    gaba

    01/30/2017, 9:10 PM
    hi! I thought it was a more generic graphql slack. Sorry if I got into your company slack.
  • n

    nilan

    01/30/2017, 9:11 PM
    @gaba, happy to have you here! We also discuss GraphQL related things no worries
  • n

    nilan

    01/30/2017, 9:11 PM
    @martin will take a look tomorrow
    πŸ‘πŸ½ 2
  • a

    ambethia

    01/31/2017, 4:15 AM
    Just getting into the "graphql scene", and was interested in the Lokka client, but I just saw the company that develops it (Kadira) announced they were shutting down a few weeks ago, and there hasn't been any commits on Lokka since six weeks prior to that even. Am I under the wrong impression here? That development seems to have stalled? My time is probably best spent getting my head around Apollo.
  • t

    tim2

    01/31/2017, 8:31 AM
    @ambethia lokka is still a valid choice if you want to perform some queries and mutations, not necessarily from an UI. You might eg. want to implement a CLI that pulls/pushes data to a graphql Backend. Then lokka is enough. However, as soon as you have this typical mapping of data to UI, Apollo is currently the easiest way to go.
    a
    • 2
    • 1
  • n

    nilan

    01/31/2017, 9:39 AM
    Hey @martin, I could reproduce it and created an issue: https://github.com/graphcool/console/issues/609
  • n

    nilan

    01/31/2017, 9:39 AM
    hey there @wires and @nicholas πŸ™Œ
  • n

    nilan

    01/31/2017, 11:39 AM
    the issue is now fixed @martin. Thanks again for your feedback πŸ™‚
    πŸ‘πŸ½ 1
  • e

    ejoebstl

    01/31/2017, 1:32 PM
    Hi graphcool team! Does graphcool support input validation? Easy use case: I want to make sure a string that's passed to a mutation has a certain format (e.g. an email address). Hard use case: I want to make sure that some parameter fulfils a certain relation with other existing nodes (e.g. a string that's passed to a mutation must not begin with the same letter as any other string in the same model).
  • e

    ejoebstl

    01/31/2017, 1:36 PM
    I usually use some sort of server-side application to provide validation for my applications, but I'd obviously like to drop that in favor of graphcool.
  • n

    nilan

    01/31/2017, 1:37 PM
    Hey @ejoebstl, thanks for the questions! We are currently collecting different use cases for server side validations here: https://github.com/graphcool/feature-requests/issues/23
  • n

    nilan

    01/31/2017, 1:37 PM
    Welcome @timtech4u πŸ™Œ
  • s

    schickling

    01/31/2017, 7:39 PM
    Hi @gollyjer! πŸ‘‹
  • g

    gollyjer

    01/31/2017, 8:04 PM
    Hi!
  • g

    gollyjer

    01/31/2017, 8:14 PM
    I'm super excited to have found your service. I want to get to know GraphQL and this looks like a good way to do it. πŸ™‚
    πŸš€ 1
  • n

    nilan

    01/31/2017, 8:27 PM
    awesome! there's a lot to learn but the interactive possibilities are a big help πŸ™‚
  • r

    rob

    01/31/2017, 9:11 PM
    just downloaded the react-lokka example
  • r

    rob

    01/31/2017, 9:13 PM
    think I figured out my issue, I'll let you know how it goes!
  • r

    rob

    01/31/2017, 9:22 PM
    nvm, watched this https://docs.graph.cool/ which helped.
  • n

    nilan

    01/31/2017, 9:48 PM
    cool @rob!what was the problem?
  • r

    rob

    01/31/2017, 10:24 PM
    hey, the writes are working but the reads are not
  • r

    rob

    01/31/2017, 10:26 PM
    I updated it to:
    Copy code
    function fetchAll () {
      console.log('fetching')
      return client.query(`
        {
          allTodoes {
            ${todoFragment}
          }
        }
      `)
      .then((res) => {
        console.log(res)
        todos.replace(res.allTodos)
      })
    }
  • r

    rob

    01/31/2017, 10:26 PM
    and the todos show up as a list of objects in the console but not in the demo
  • r

    rob

    01/31/2017, 10:27 PM
    also, I added
    Copy code
    {
          test: /\.json$/,
          loader: 'json-loader',
        }
    to the webpack.config.js
  • r

    rob

    01/31/2017, 10:27 PM
    I'll shoot you a pull request once I figure it out πŸ˜‰
  • r

    rob

    01/31/2017, 10:30 PM
    it looks like TodoStore is missing from models
  • n

    nilan

    01/31/2017, 10:32 PM
    oh, I see! yes, I appreciate any feedback simple smile the lokka example is a bit outdated compared to the Apollo and Relay ones though
1...929394...637Latest