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

    olifante

    12/07/2016, 8:07 PM
    Great GraphQL presentation at React Native Berlin by Tim and Johannes
  • s

    sorenbs

    12/07/2016, 8:09 PM
    Thanks @olifante Are you planning to use GraphQL in a react native app?
  • o

    olifante

    12/07/2016, 8:28 PM
    not with React Native (at least not yet), but definitely with plain React, using Guillermo Rauch's amazing next.js
  • p

    pkunwar

    12/08/2016, 5:29 AM
    hello
  • n

    nilan

    12/08/2016, 8:36 AM
    Welcome @pkunwar and @dnalih :)
  • s

    sorenbs

    12/08/2016, 11:13 AM
    We are looking for a few people to beta test GraphQL subscriptions. send me a DM if you want to help out 🙂
  • p

    pedro

    12/08/2016, 2:18 PM
    hey folks. great talk yesterday 💯 I'll just be lurking and learning. don't mind me
    🕵️ 1
    💯 2
  • s

    sorenbs

    12/08/2016, 2:31 PM
    Welcome @pedro 🙂
  • d

    dio

    12/08/2016, 2:50 PM
    hi guys
  • s

    schickling

    12/08/2016, 2:50 PM
    Hi @dio!
  • d

    dio

    12/08/2016, 2:51 PM
    graphcool is awesome!
  • s

    schickling

    12/08/2016, 2:51 PM
    Thanks! Glad you like it!
  • d

    dio

    12/08/2016, 2:52 PM
    I notice that there's no vendor lockin right?
  • d

    dio

    12/08/2016, 2:53 PM
    it's possible to run the api and console on our infrastructure?
  • d

    dio

    12/08/2016, 2:55 PM
    we have a client with some hard requirements and build a graph server is not so easy
  • s

    schickling

    12/08/2016, 3:11 PM
    As of now it's not yet possible to run it on your own infrastructure.
  • d

    dio

    12/08/2016, 3:14 PM
    thanks @schickling!
  • d

    dio

    12/08/2016, 3:14 PM
    there's any plan to release it open source as you guys are saying on graphcool website?
  • s

    schickling

    12/08/2016, 3:25 PM
    Nothing official yet for our hosted backend. And yes, our console is completely open-source: https://github.com/graphcool/console
  • m

    monkeybonkey

    12/08/2016, 5:47 PM
    thinking through a use case where I have a wishlist that contain more than one type of object (products and hotels) - assuming that graphcool uses a relational store - is the best way to do this to create a generic “ListItem” schema? How best to relate that with the product and hotel objects?
  • s

    sorenbs

    12/08/2016, 6:00 PM
    @monkeybonkey If you have only few types of objects I would suggest creating an intermediary Wish model that has a one-relation to each of the objects. Does that make sense?
  • s

    sorenbs

    12/08/2016, 6:00 PM
    This is how we modelled a project for Twitter during EM where we needed to display a feed of events
  • m

    monkeybonkey

    12/08/2016, 6:01 PM
    @sorenbs so the wish model has optional links to the other types?… so there would just be some sparse data
  • s

    sorenbs

    12/08/2016, 6:01 PM
    Yes. It’s not ideal. but it’s the best we can do right now
  • m

    monkeybonkey

    12/08/2016, 6:02 PM
    sure, understood - I wonder if there is any way to guard against an error case where the wishobject somehow gets linked with two types of objects simultaneously
  • m

    monkeybonkey

    12/08/2016, 6:02 PM
    I guess I would just have to guard against that in code and not in the data model itself
  • s

    sorenbs

    12/08/2016, 6:06 PM
    Exactly. We are working on a way for you to add server side validation logic, which would make this a lot nicer, but for now I would just do that on the client. If it’s really important for you, you could add a mutation callback that verifies this and either alerts you or actively splits it up into two
  • e

    emilrmoeller

    12/09/2016, 6:00 AM
    I just saw your new landingpage 👏 👏 It looks really really good!
    🙌 7
  • s

    sdubois

    12/09/2016, 11:00 AM
    I'd say it looks cool 😉
  • s

    sdubois

    12/09/2016, 11:00 AM
    but still renders old page on Twitter: https://twitter.com/semdubois/status/807177695255785472
1...596061...637Latest