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

    sashko

    11/08/2016, 10:32 PM
    I've heard having two duplicate domains is not great for SEO
  • s

    schickling

    11/08/2016, 10:33 PM
    Yup, that's the plan!
  • s

    schickling

    11/08/2016, 10:33 PM
    Just waiting to hear back from Netlify about the redirect stuff, they have to fix some bugs on their end
    👍 1
  • k

    klaussner

    11/08/2016, 10:34 PM
    I'm following @sashko on GitHub and saw he starred the project. I didn't realize that it's not ready yet. 😅
    🤓 3
  • s

    sashko

    11/08/2016, 10:34 PM
    lol
  • n

    nilan

    11/08/2016, 10:38 PM
    haha awesome! well you can already play around with it, pm me if you need more help with that simple smile
  • k

    klaussner

    11/08/2016, 10:48 PM
    Thanks, @nilan 😊
    🙌 1
  • y

    yoamomonstruos

    11/08/2016, 11:16 PM
    Was wondering if there were any example webtasks that create data on graphql from an external service’s webhook?
  • y

    yoamomonstruos

    11/08/2016, 11:24 PM
    I’m guessing using something like Lokka and webhooks.io ?
  • n

    nilan

    11/08/2016, 11:26 PM
    hey @yoamomonstruos ,there is only an example with webtask and mailgun. can you talk a bit more about your specific use case?
  • y

    yoamomonstruos

    11/08/2016, 11:27 PM
    Hmm, I was just thinking about it. But say I wanted to take one of github’s webhooks and create a node on graph.cool from that webhook.
  • n

    nilan

    11/08/2016, 11:27 PM
    https://github.com/graphcool-examples/webtask-mailgun-email-example
  • n

    nilan

    11/08/2016, 11:28 PM
    yea there are a lot of use cases where what you said makes a lot of sense simple smile we just don't have an example covering such a thing yet
  • y

    yoamomonstruos

    11/08/2016, 11:28 PM
    That’s cool. Do you know if Lokka is the best choice for connecting to graph.cool from node? rather than from a react app etc.
  • y

    yoamomonstruos

    11/08/2016, 11:28 PM
    or does apollo work server side too?
  • n

    nilan

    11/08/2016, 11:30 PM
    you can use the apollo client to just send raw queries as well without React or Angular but I used lokka successfully in situations like these
  • y

    yoamomonstruos

    11/08/2016, 11:30 PM
    Awesome. Thanks for the help 🙂
  • n

    nilan

    11/08/2016, 11:31 PM
    you're very welcome!
  • e

    emilrmoeller

    11/09/2016, 3:30 AM
    Hey everyone 🙂 I’m currently in Japan, and I keep getting 500 errors in the console. i was wondering if others have the same problem? Or if it’s because of my connection somehow?
  • e

    emilrmoeller

    11/09/2016, 3:31 AM
    my app works with communicating with graph.cool though
  • e

    emilrmoeller

    11/09/2016, 5:10 AM
    hey it doesn’t change, console asked me to post this in the slack group 🙂
  • e

    emilrmoeller

    11/09/2016, 5:13 AM
    civagzz1603dq0168pn17eb6g
  • e

    emilrmoeller

    11/09/2016, 5:31 AM
    Hmm, i fixed it, but not without deleting the existing relations and userId on project, i guess it was caused because i had changed my relations on the way as i changed a bit of structure. Then when trying to add a new entry, it gave an error saying that userId only took an Int! but in the playground it wrote ID, very confusing. but i deleted all the relations, and a userId i had set manually in the beginning before i knew how to use the relation model. My mistake 🙂 i don’t know if there’s a possibility to make the 500 error code less generic ? Thanks 🙂
  • s

    schickling

    11/09/2016, 9:29 AM
    Hey @emilrmoeller. Thanks a lot for reporting this. We're already looking into this. Have a great stay in Japan! 🇯🇵
  • e

    emilrmoeller

    11/09/2016, 9:31 AM
    Hey @schickling! Awesome! Just ask me if I can help in any way! I do! Japan is always good!
    🙌 2
  • e

    emilrmoeller

    11/09/2016, 10:20 AM
    Hands up for quick fix!
  • t

    thisismissem

    11/09/2016, 11:35 AM
    @nilan what about doing it from something like Zapier?
  • n

    nilan

    11/09/2016, 1:01 PM
    hey @thisismissem, I guess you refer to our actions feature? (soon to be renamed mutation callbacks) I quickly checked out Zapier and I think their webhook Zap is exactly what you can use. Just enter your Zap webhook URL into the Handler URL when creating the mutation callback.
  • t

    thisismissem

    11/09/2016, 1:01 PM
    nah, the other way around — i.e., you have a change in the third-party, you push that to zapier, and then zapier does the mutation POST call
  • t

    thisismissem

    11/09/2016, 1:02 PM
    for https://graphcool.slack.com/archives/general/p1478646971001636
1...414243...637Latest