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

    sajmil

    04/20/2017, 11:50 PM
    Any timeframe for upsert?
    n
    • 2
    • 1
  • s

    shammowla

    04/21/2017, 2:05 AM
    hey, the Add Model button is missing, I tried switching browsers with no luck
    n
    • 2
    • 1
  • a

    akadop

    04/21/2017, 4:51 AM
    Hey guys, I'm experimenting with Graphql on React using graph.cool. I have a question with regards to if I'm going in the right direction. I'm working on a personal project .. It's a PWA and the only functionality I want it to have for now is being able to fill out an order form. I've made some Types on graph.cool that looks like this: https://gist.github.com/akadop/d6c680b0f67d6bd252c0f9c1e93849c1
  • a

    akadop

    04/21/2017, 4:52 AM
    So an invoice has a couple relations, being 1:many with items/pads ... 1:1 with customer and salesperson. How do I structure a mutation to be able to create a complete Invoice with the fields I've made across all the types?
    n
    • 2
    • 5
  • a

    artyom

    04/21/2017, 8:32 AM
    hello there @thortek @gummyd @akadop welcome to graphcool 👋
  • s

    sven

    04/21/2017, 9:09 AM
    Is there a way to get test user data into my graph.cool so I can do some test queries ?
    n
    • 2
    • 29
  • d

    dpihac

    04/21/2017, 9:52 AM
    Hi all, nice to be here
    🙌 1
  • a

    artyom

    04/21/2017, 10:27 AM
    hi there, welcome to the club! Wave
  • q

    qsys

    04/21/2017, 10:59 AM
    on mutation callbacks: when a handler (url) is called, payload can be added (graphql query), but is it possible to add headers (e.g. authorization header?)
  • q

    qsys

    04/21/2017, 11:05 AM
    (or: how to make authenticated & authorized
    POST
    requests in the webhooks)
    n
    • 2
    • 8
  • u

    user

    04/21/2017, 1:08 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I am not sure if this is the right place to ask a basic GraphQL question. Let me know if I should rather go to Stackoverflow 🙂
    Question_about_GraphQL_queries
  • s

    sven

    04/21/2017, 1:08 PM
    Question_about_GraphQL_queries
  • h

    huv1k

    04/21/2017, 1:11 PM
    i am new in general in graphql how do you organize your queries mutations etc? 😄 i think its good idea to keep mutation separated and have queries with components any tips? 🙂
    n
    • 2
    • 5
  • a

    artyom

    04/21/2017, 1:12 PM
    @emilnordh hello and welcome to our slack! 🙌 graphcool
  • u

    user

    04/21/2017, 1:16 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: Posting this question on SO would be great so everyone can see it 🙂 Let me know when you did so I can post an answer there
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 1:20 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: http://stackoverflow.com/questions/43543845/graphql-query-to-cross-reference-data
    Question_about_GraphQL_queries
  • a

    artyom

    04/21/2017, 1:20 PM
    👋 @sokki a warm welcome to you as well!
  • u

    user

    04/21/2017, 1:21 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: not sure if the title is good
    Question_about_GraphQL_queries
  • s

    sokki

    04/21/2017, 1:21 PM
    thanks @artyom 🚀
  • u

    user

    04/21/2017, 1:39 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I posted an answer 🙂
    Question_about_GraphQL_queries
  • s

    sokki

    04/21/2017, 1:40 PM
    I’m currently evaluating graph.cool and have a couple of questions: 1. when will “advanced” permissions be available? (e.g. authors can delete only own posts / admins can everything) 2. I can export a projects schema - but cannot import it into another project!? 3. filter/search in json fields not possible? 4. filter/search in multi-value fields not possible? 5. subscriptions fires only for top-level mutations (not for nested/relation data changes), so I would need seperated subs for each sub-type!? Thanks 🙂
    n
    • 2
    • 3
  • u

    user

    04/21/2017, 1:50 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I think I wasn’t clear in my example (I switched up street and location). To make your answer work there must be a reference between User and Street right?
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 1:50 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: Yep. Sorry about that 🙂 updating my answer now
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 1:51 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I think I looked at an outdated question that included
    Location
    😛
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 1:51 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: yes, sorry. my fault.
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 1:58 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I updated the response! 🙂
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:14 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: I had to give the filter
    house_some
    instead of
    house
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:14 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: but it works, thank you
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:15 PM
    @nilan commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: then it's not a one-to-one relation as you described 🙂
    Question_about_GraphQL_queries
  • u

    user

    04/21/2017, 2:15 PM
    @sven commented on @sven’s file https://prisma.slack.com/files/U526NK30C/F51U9PMT2/Question_about_GraphQL_queries: would you recommend to use as few references between types as possible (like in sql) ? This leads to more complex queries. I am curious what more experienced graphQL users tend to do?
    Question_about_GraphQL_queries
1...161162163...637Latest