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

    user

    04/21/2017, 2:21 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: Are you talking about this alternative data model
    Copy code
    query {
      allUsers {
        houses {
          street {
            id
          }
        }
       streets {
         id
       }
      }
    }
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:21 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: note the additional connection between
    User
    and
    Street
    via the
    streets
    field
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:23 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: Yes. Basically references between all three types instead of two references, which is the minimum of references to make sense of the data.
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:29 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I would highly recommend against duplicating data entry points like this. The increased complexity for the query is only slight, but now you would need to do a lot of brittle housekeeping to keep the different connections
    user -> houses -> street
    and
    user -> streets
    in sync.
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:49 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: all right. that’s also what my gut feeling told me. but those nested filters is something I didn’t see anywhere
    Question_about_GraphQL_queries
  • a

    artyom

    04/21/2017, 3:21 PM
    hello there @lukasz 👋
  • a

    artyom

    04/21/2017, 3:21 PM
    welcome to our slack
  • a

    artyom

    04/21/2017, 4:29 PM
    hey, @dmancan 👋 @dmitry welcome to graphcool 🙌
  • d

    dmitry

    04/21/2017, 4:32 PM
    thanks! 👋
  • j

    jaga_santagostino

    04/21/2017, 5:31 PM
    I enabled auth0 but i cannot see the users,is there any required step I’m missing?
    n
    • 2
    • 4
  • r

    rockchalkwushock

    04/21/2017, 6:25 PM
    I'm a little confused with
    graphql-relay
    and what is going on with this example. Can someone help me understand a few things about it?
    -.js
  • r

    rockchalkwushock

    04/21/2017, 6:25 PM
    This is the code-base I'm looking at: https://github.com/relayjs/relay-examples/tree/master/todo-modern
  • n

    nilan

    04/21/2017, 6:43 PM
    Hey @rockchalkwushock #stackoverflow is a great place to discuss questions like this 🙂
  • r

    rockchalkwushock

    04/21/2017, 6:44 PM
    ok sorry didn't think about looking there. this library is quite different than
    graphql
  • n

    nickhudkins

    04/21/2017, 6:44 PM
    the good news @rockchalkwushock is that you found the place it differs 🙂 beyond that, there’s not much.
    👍 1
  • e

    equimper

    04/21/2017, 7:52 PM
    Hello everyone 🙂
  • a

    artyom

    04/21/2017, 7:53 PM
    hello there @equimper 🙌 glad you’re joining us today!
  • e

    equimper

    04/21/2017, 7:54 PM
    🙂
  • n

    nish

    04/21/2017, 8:00 PM
    Did graphcool changed their pricing model recently? It seems the database storage is much less as compare to the the previous pricing model.
    n
    • 2
    • 2
  • a

    artyom

    04/21/2017, 10:45 PM
    @taras @lyonwj hi and welcome to our slack! 👋
    👋 1
  • f

    fred

    04/22/2017, 5:45 AM
    Hey, I keep getting
    The provided idToken is invalid
    when trying to create a user with auth0. I've verified that the idToken is valid and from the right domain/etc. Does anyone have any ideas?
    n
    • 2
    • 5
  • a

    artyom

    04/22/2017, 9:54 AM
    @sophia @mtsmfm @john @sune.niemann hello there and enjoy your weekend with graphcool 👋
  • j

    jaga_santagostino

    04/22/2017, 10:34 AM
    I’ve created a channel relate to aws lambdas and serverless for quick questions and discussions, feel free to join #lambda-serverless
    👌 1
  • q

    qsys

    04/22/2017, 12:27 PM
    I have events which have a link to a location. I have a mutation callback, that should fire when the event with location is known (there's a one-to-many relation between location and event) To add an event with a location, I have to add the location first, the event without location second and than make the relation between event and location. This all works... However, the mutation callback should not be fired when the event is created, since the location is not known at that time - it still is weird graphcool can't handle it to set the relation at creation time, but that's how it is. So I want the mutation callback to fire when I 'update' the location field of the event, the mutation callback is not fired. Apparently, updating a relation between entities is not(!) considered as an update. (Also checking the permissions, e.g.
    edit field
    , relations are not considered as fields: when I try to set the permission to update the
    location
    field of an event, I can't: this
    location
    -field is not shown as a field). How can I make the callback fire only when an event with location is known?
    n
    • 2
    • 6
  • a

    artyom

    04/22/2017, 1:08 PM
    @heres hola, welcome! 🙌 enjoy your weekend with graphcool
  • a

    artyom

    04/22/2017, 2:20 PM
    hi @kharioki 👋
  • k

    kharioki

    04/22/2017, 2:46 PM
    Hello therr
  • a

    artyom

    04/22/2017, 2:46 PM
    enjoy your saturday with graphcool @looneydude 👋 (plus points for the name 😃 : )
  • n

    nish

    04/22/2017, 3:58 PM
    @nilan Now I found out why I had some doubt regarding the graphcool pricing model earlier. You pricing page on desktop shows a different version as compare to mobile version of the website
  • n

    nish

    04/22/2017, 3:58 PM
1...162163164...637Latest