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

    notrab

    03/31/2017, 2:37 PM
    I'm rather excited to give graphcool a go once I figure out some Redux integration stuff with Apollo. I built my own graphql backend with Node but it seems silly now there is graphcool at such low pricing 😘
    🎉 1
    ❤️ 1
  • n

    notrab

    03/31/2017, 2:43 PM
    I have a rather fiddly sidebar filter that currently just filters the data on the client side, are there any examples floating about that show graphcool and Apollo with data filtering (checkboxes)
    n
    • 2
    • 3
  • f

    feramon

    03/31/2017, 3:29 PM
    Just a quick question: I have an idea about how a User can follow another User but how can a User get through a query all Users that are following him? I managed to do that in a RESTful way but I had to play with custom methods and logic. I guess I shouldn't have to if I had a better model of the relationship. So I'm trying to do the same in a "graph" way...
    h
    n
    • 3
    • 8
  • a

    artyom

    03/31/2017, 4:08 PM
    hi there @rlew 👋
  • r

    rlew

    03/31/2017, 4:30 PM
    yo! 👋
  • a

    artyom

    03/31/2017, 4:49 PM
    @lolero hello! graphcool
  • a

    artyom

    03/31/2017, 5:14 PM
    hopla, hi there @jonathanilk glad to have you here!
  • a

    artyom

    03/31/2017, 6:51 PM
    @axax @maxcan welcome to graphcool glad you’re joining us today! 🎉
  • a

    artyom

    03/31/2017, 8:22 PM
    👋 @israrwz
  • h

    hvillain

    03/31/2017, 11:04 PM
    Where "relationA" and "relationB" are fields related to other tables. I would like to update UI based on new relations created but nothing gets triggered currently (tried it out in playground). Any idea how to achieve this? Thanks! 🙂
    Listening_on_updated_relations_doesn_t_work.txt
  • j

    jimthedev

    04/01/2017, 1:25 AM
    If I recall they are working on that @hvillain.
    🙂 2
    n
    • 2
    • 1
  • r

    ragnorc

    04/01/2017, 10:47 AM
    Hey! I am just trying out GC and can't figure out how to define a relationship without it appearing on both types. E.g. I want to have a "feed" type in my users node with the posts but I don't want to have a field with that relation in my post type 😅
    s
    • 2
    • 2
  • a

    artyom

    04/01/2017, 11:49 AM
    @urlbox @Florian Kapfenberger hello! enjoy your weekend with graphcool
    🙂 1
  • r

    ragnorc

    04/01/2017, 1:42 PM
    Is it possible to signin users with Auth0 without using Lock? Are there already mutations provided?
  • j

    jimthedev

    04/01/2017, 2:46 PM
    afaik you can just pass a token into the mutation, how you get the token doesn't matter.
    👍 1
    r
    • 2
    • 2
  • j

    jimthedev

    04/01/2017, 2:48 PM
    specifically the createUser mutation
  • k

    kmeillet

    04/01/2017, 2:48 PM
    When you write query for "container component", do you use multiple query to fetch multiple data or just 1 big query ?
  • j

    jimthedev

    04/01/2017, 2:50 PM
    You can use react-apollo's compose to have multiple queries.
  • j

    jimthedev

    04/01/2017, 2:50 PM
    I prefer that method
  • j

    jimthedev

    04/01/2017, 2:51 PM
    It allows you to alias your queries as well so that if you want to run the same query with different variables you can still access the results in this.props under different keys.
  • g

    gopidon

    04/01/2017, 5:53 PM
    I came back from a vacation and most of the console UI has changed
    n
    • 2
    • 1
  • g

    gopidon

    04/01/2017, 5:53 PM
    How do i edit a relation ???
    s
    • 2
    • 1
  • d

    dataknut

    04/01/2017, 6:35 PM
    Got the illustration in place, here’s the tweet @nilan @artyom https://twitter.com/kmelve/status/848242217500246018
    ❤️ 1
    🎉 2
  • n

    nilan

    04/01/2017, 6:37 PM
    aww too bad your tweet didn't pick up the awesome illustration 🙂 That's super neat @dataknut!
    d
    s
    • 3
    • 8
  • d

    dataknut

    04/01/2017, 6:49 PM
    So, I termed graph.cool “database-like” in said blog post, because I registered you call it a “backend service”; and because it isn't strictly a database, or is it? Doesn't matter really, just academically curious.
  • r

    rapsin4

    04/01/2017, 6:55 PM
    This might be a stupid question, but what's best way to write a script to populate graph.cool with data?
    s
    • 2
    • 2
  • a

    alphy

    04/02/2017, 12:08 AM
    HEy all, I am trying to play around with some subscription code. And I got almost everything working, but for some reason, when I get new data from a subscription update, something weird happens. So, I will have
    Copy code
    [ {id: “AB”, <some value 1>}, 
      {id: “CD”, <some value 2>},
      {id: “EF”, <some value 3>} }
    And then I get an update response. And the new contents of my data variable is
    Copy code
    [ {id: “AB”, <some value 1>}, 
      {id: “AB”, <some value 2>},
      {id: “CD”, <some value 3>},
      {id: “EF”, <some value 4>} }
    n
    • 2
    • 3
  • a

    alphy

    04/02/2017, 12:08 AM
    Any ideas what might cause that?
  • a

    alphy

    04/02/2017, 12:08 AM
    I was following this example: https://github.com/graphcool-examples/react-apollo-instagram-subscriptions-example/blob/b69e378765438aa9390e5f19997fe128b1d50ddc/src/components/ListPage.js
  • x

    xxronis

    04/02/2017, 9:14 AM
    Hooked up my React-Apollo-GraphQL tutorial app with data in seconds! Amazing - still got a lot to truly understand though
    👍 2
1...139140141...637Latest