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

    jesper

    02/14/2018, 2:07 PM
    Hi, I am working on a vue + graphql project where we have to create a participant, who can be an external user or an internal user. So when I save the participant I would like to use the email on it to look up the registered users to see if we have an internal user with this email. Is there a way for me to do this when sending a new participant to the mutation?
  • j

    johannpinson

    02/14/2018, 2:15 PM
    Hey 👋 Have someone already use the serverless-image-proxy (https://github.com/graphcool/serverless-image-proxy) from the graphcool team ? I’m looking about how to test it in local environment (the deployed version works well !!) to develop faster updates, but avoid make a deploy after each
    console.log
    added...
  • j

    johannpinson

    02/14/2018, 2:16 PM
    maybe @huv1k or @agartha?
    h
    • 2
    • 27
  • o

    Olle

    02/14/2018, 2:19 PM
    I'm curious about the GraphQL Europe conferance, I'm a tester who has got the main responsibility for testing the GraphQL part of our products. I'm fairly technical but not a savant when it comes to coding. Will I get something out of the conferance?
    d
    • 2
    • 1
  • j

    jarvis

    02/14/2018, 3:02 PM
    Good morning everyone! Happy Valentines Day❣️
    ❤️ 3
  • s

    senorcodecat

    02/14/2018, 3:32 PM
    Do you guys have an in-house designer that does your sweet workflow animations or do you outsource? I want to hire him for some work. 🙂
    👍 1
  • m

    Max Hodges

    02/14/2018, 4:02 PM
    is there some kind of “graphcool jobs” board? We’re thinking build on graphcool, so I’d really like to identify some experienced devs who we might be able to call on for consulting. It seems like a lot of things are quite working right. So looking for someone who knows the beginner mistakes, gotchas and workarounds.
    👍 1
    m
    n
    • 3
    • 2
  • t

    tbrannam

    02/14/2018, 4:27 PM
    are there concrete examples on how to use
    withFilter
    in conjunction with
    ctx.db.subscription
    ?
    w
    • 2
    • 9
  • a

    agustif

    02/14/2018, 5:06 PM
    Hi! Any known ecommerce/production sites using graphcool?
  • a

    agustif

    02/14/2018, 5:06 PM
    I have checked the examples, but I just want to know if anyone is using it to sell stuff out there
  • s

    sid.gupta

    02/14/2018, 6:49 PM
    Hey Guys! Serverless just published my first blog on Serverless and GraphQL - https://serverless.com/blog/running-scalable-reliable-graphql-endpoint-with-serverless/
    👍 1
    fast parrot 1
    👏🏻 3
    p
    j
    • 3
    • 4
  • s

    sid.gupta

    02/14/2018, 6:49 PM
    Looking forward to any feedback and if you like it, feel free to share 🙂
    🦜 1
    💯 1
  • a

    auser

    02/14/2018, 7:12 PM
    soooo I'm sure this has been asked a few times, but... from what I understand prisma is more if we want to run our own graphql box whereas the graphcool framework is for working directly on the graphcool cloud or is it the case where we can use prisma and host it on the graphcool cloud?
  • a

    auser

    02/14/2018, 7:13 PM
    I suppose I'm just not clear on the relationship
  • a

    auser

    02/14/2018, 7:32 PM
    @nilan ^^ is that a crazy question? Am I just misunderstanding it?
    a
    • 2
    • 5
  • a

    auser

    02/14/2018, 7:35 PM
    thanks @andre
    a
    • 2
    • 1
  • a

    Adam King

    02/14/2018, 8:15 PM
    Any news on interface/union types?
  • a

    Adam King

    02/14/2018, 8:26 PM
    Or does anyone have a good temporary solution for replacing interface/union types in the data model. until they are implemented in Prisma?
  • s

    Simon

    02/14/2018, 8:39 PM
    hey, i wanted to make use of server side subscriptions in prisma, to realize somekind of event driven chain like pictured in the docs (order send, order processed, order shipped, etc) But i just do not get the example in the docs https://www.prismagraphql.com/docs/reference/server_side-subscriptions/overview-to1ahf0ob6 I mean, just adding the subscription point and schema? Don´t i need some kind of js to do something? I also do not get the connection. On the Graphcool cloud you get a query and a js file, but i do not get how I am supposed to do that in prisma and how these two files connect… The sample project with subscriptions also did not work yet 😞
  • j

    jaaberg

    02/14/2018, 8:41 PM
    Hi, I have a question probably more related to apollo, so I am sorry if this is the wrong place to ask.
    • 1
    • 1
  • r

    rajit

    02/14/2018, 8:49 PM
    Does anyone know how to subscribe to a Node's DELETEs and then find out what relations that node was previously connected to? e.g. subscribe to DELETEd comments and find what post they belonged to. The SubscriptionPayload includes
    previousValues
    but that never seems to include any relation-related values
  • s

    Simon

    02/14/2018, 8:55 PM
    do you have an example of subscriptions? I dont get the docu to work 😞
    r
    • 2
    • 4
  • r

    rein

    02/14/2018, 9:08 PM
    is there anyone here who has an elegant workaround for the missing Interface feature?
  • e

    ed

    02/14/2018, 9:19 PM
    Hi guys, 1 question about graphcool filters, whats the difference between
    every
    and
    some
    , lets say we have a friends field and we filter like this
    Copy code
    friends_every: { id: $id }
    
    OR
    
    friends_some: {id: $id }
    p
    • 2
    • 4
  • d

    Discere

    02/14/2018, 9:49 PM
    Are there any good resources for different example schemas - my brain is farting along thinking legacy, not nodes.
  • d

    Discere

    02/14/2018, 9:52 PM
    I am building myself a life log type Web App, the schema is beginning to look like this, but it doesn't feel right
    Copy code
    type Country @model {
      createdAt: DateTime!
      updatedAt: DateTime!
      name: String!
      city: [City!]! @relation(name: "CityInCountry")
      id: ID! @isUnique
    }
    
    type City @model {
      createdAt: DateTime!
      updatedAt: DateTime!
      name: String!
      country: Country! @relation(name: "CityInCountry")
      place: [Place!]! @relation(name: "PlaceInCity")
      id: ID! @isUnique
    }
    
    type Place @model {
      createdAt: DateTime!
      updatedAt: DateTime!
      name: String!
      city: City! @relation(name: "PlaceInCity")
      activity: [LifeActivity!]! @relation(name: "LifeActivityPlace")
      id: ID! @isUnique
    }
    
    type LifeActivity @model {
      createdAt: DateTime!
      id: ID! @isUnique
      name: String!
      description: String!
      content: String!
      videoUrl: String
      imageUrl: String
      lifeGoal: [LifeGoal!]! @relation(name: "LifeGoalActivity")
      people: [Person!]! @relation(name: "PeopleOnLifeActivity")
      place: [Place!]! @relation(name: "LifeActivityPlace")
      updatedAt: DateTime!
    }
  • w

    wallslide

    02/14/2018, 11:57 PM
    I'm curious about subscriptions, prisma, and graphql-yoga. If I hosted a graphql-yoga server in front of the new prismacloud, how do subscriptions work? Does the graphql-yoga server get notified in real-time, and then forward that info to clients connected to it? I guess that means that the graphql-yoga server can't run on lambda since it might not be running when subscription data is sent to it?
    b
    • 2
    • 3
  • r

    Ramsay Lanier

    02/15/2018, 2:46 AM
    Hey gang, I have another Prisma question. Lets say I have a query that looks like this:
  • r

    Ramsay Lanier

    02/15/2018, 2:46 AM
    -.txt
  • r

    Ramsay Lanier

    02/15/2018, 2:46 AM
    now, in the resolver, I want to add something to the where filtering, like this:
1...573574575...637Latest