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

    artyom

    03/29/2017, 11:18 AM
    @stariradeff @markdrew @strombergjo hi there!
  • g

    gdiddadi

    03/29/2017, 11:21 AM
    hi everyone, just throwing this out there! I am building an app and looking into graph.cool.. I need to rank items using a basic ranking algorithm.. just wondering, other than algolia connection, if there's a good way to sync graph.cool data with my another db that I can use to compute (and cache) rankings? anyone had similar requirements? 🙂
  • g

    gdiddadi

    03/29/2017, 11:22 AM
    I thought perhaps mutation callbacks might be a good approach, but wanted to ask either way! 😄 thanks guys
  • g

    gdiddadi

    03/29/2017, 11:26 AM
    perhaps an idea might to use mutation callbacks so that when an 'item' is created, it calls a lambda function that writes it to a DB, from there, I can perform some computation and cache the results.. just thinking out aloud here!
  • g

    gdiddadi

    03/29/2017, 11:26 AM
    I am new to GraphQL / Lambda!
  • g

    gdiddadi

    03/29/2017, 11:26 AM
    love the work you guys are doing
  • s

    sorenbs

    03/29/2017, 11:28 AM
    Thanks @gdiddadi Using mutation callbacks to sync data to an external system works great. You should make sure to write your syncing code in an idempotent way, meaning that it should be possible to sync the same item twice and not end up with multiple items in your external system.
  • g

    gdiddadi

    03/29/2017, 11:28 AM
    Ok fantastic, that makes a lot of sense.. thank you @sorenbs!
  • s

    sorenbs

    03/29/2017, 11:29 AM
    My pleasure 🙂 Let us know if you run into any issues
  • a

    artyom

    03/29/2017, 12:49 PM
    @fabiantjoeaon hello! nice to have you join us here at graphcool
  • h

    hvillain

    03/29/2017, 1:10 PM
    @gdiddadi I'm working on similar stuff these days! I use Neo4j as a primary DB to rank content, and Graphcool to render a timeline on what users might generally be interested in. The only problem I have is that mutation callbacks only exist for nodes these days : being able to register a callback for relations (user likes content for example) would be much more powerful. Right now, the lambda function is called each time a user is updated and I have to check if the modification implies something on Neo4j. Hope this kind of help!
    s
    • 2
    • 4
  • g

    gdiddadi

    03/29/2017, 1:34 PM
    That's very interesting. Thank you. It does help!
  • a

    alex_ye

    03/29/2017, 1:42 PM
    Hi I started receiving "Subscription timed out - no response from server”. Didin’t experience it before.
  • a

    alex_ye

    03/29/2017, 1:43 PM
    sometimes subscriptions work, sometimes they don't
  • n

    nilan

    03/29/2017, 1:44 PM
    @alex_ye I highlighted you in a different thread where we've seen similar reports, let's try to reproduce this together 🙂
  • g

    gmuresan

    03/29/2017, 2:01 PM
    Does anybody have any idea how to solve the following: I have a node
    Parent
    that has many
    child
    . Every time I create a
    child
    I want to set
    childNumber
    property that auto increments. But
    childNumber
    will be unique for each
    Parent
    n
    • 2
    • 25
  • a

    artyom

    03/29/2017, 3:55 PM
    @brucelane @kimchi 🖖 graphcool welcome!
    parrotwave1 1
  • j

    jeffdiers

    03/29/2017, 4:25 PM
    Hello. I am building a react native app with a Graphcool backend for a school project. This app allows users to book appointments with barbers. I would like to integrate a service where the user gets a text message reminder when booking an appointment. Can anyone give me guidance on this? Where to start? Tutorials? Thank you.
    r
    s
    • 3
    • 2
  • a

    artyom

    03/29/2017, 5:22 PM
    ahoi @aaron nice to have you here! 🎉
  • a

    aaron

    03/29/2017, 5:22 PM
    heyo!
  • a

    artyom

    03/29/2017, 5:22 PM
    👋
  • a

    aaron

    03/29/2017, 5:22 PM
    very slick set of tools you folks are building
  • a

    artyom

    03/29/2017, 5:23 PM
    cheers, appreciate the love! 🙇
  • a

    aaron

    03/29/2017, 5:23 PM
    happy to share what I'm working on, etc. I'm not a fit for the backend (I don't think), but happy to share architecture, use case etc
  • a

    artyom

    03/29/2017, 5:23 PM
    awesome! I’ll PM you
  • a

    aaron

    03/29/2017, 5:23 PM
    👍
  • h

    hvillain

    03/29/2017, 5:26 PM
    Oh @aaron , I really liked your stories about storytelling! 👍
  • a

    aaron

    03/29/2017, 5:29 PM
    oh hey!
  • a

    aaron

    03/29/2017, 5:29 PM
    thanks @hvillain
  • a

    aaron

    03/29/2017, 5:30 PM
    I had fun sharing that one
1...137138139...637Latest