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

    user

    06/01/2017, 6:51 PM
    @eliezedeck commented on @eliezedeck’s file https://prisma.slack.com/files/U5M2KE6P5/F5LMMT41E/subscription_error__cj3eqcbi92ib00175qi9kicfo_exists_.php: In the playground
    Subscription_error__cj3eqcbi92ib00175qi9kicfo_exists_.php
  • u

    user

    06/01/2017, 6:53 PM
    @eliezedeck commented on @eliezedeck’s file https://prisma.slack.com/files/U5M2KE6P5/F5LMMT41E/subscription_error__cj3eqcbi92ib00175qi9kicfo_exists_.php: I don't know if you can access user projects, but you have my permission to check ... it's called "Example Project"
    Subscription_error__cj3eqcbi92ib00175qi9kicfo_exists_.php
  • g

    gmuresan

    06/01/2017, 8:04 PM
    Is there any way to migrate permissions from one project to another?
    n
    • 2
    • 1
  • f

    fourcolors

    06/01/2017, 8:42 PM
    Is there a good place to find documentation on variables in mutations? I noticed the graph.cool documentation doesn’ show any examples of this.
    n
    • 2
    • 11
  • s

    sdubois

    06/01/2017, 9:17 PM
    Some tips for landing page if interested 😛 https://pro.letsvalidate.com/graph.cool
    👀 1
  • d

    doug_w

    06/01/2017, 9:39 PM
    How would you take this example, and pass in the ID as a query variable?
    Copy code
    query {
      Post(id: "cixnen24p33lo0143bexvr52n") {
        id
        title
        published
      }
    }
    k
    • 2
    • 4
  • d

    doug_w

    06/01/2017, 9:40 PM
    I am trying some similar, and clearly missing a core concept:
  • d

    doug_w

    06/01/2017, 9:40 PM
  • f

    fourcolors

    06/01/2017, 9:58 PM
    If you want changes to be reflected on the same page with a loading indicator or something, do you have to use something like “componentWillReceiveProps” or something?
    f
    • 2
    • 6
  • b

    bnchdrff

    06/01/2017, 10:33 PM
    is there any way to upsert a related record in a mutation?
  • b

    bnchdrff

    06/01/2017, 10:33 PM
    i.e. "create a new widget with the color red -- if the color red doesn't exist, create it"
  • y

    yus

    06/01/2017, 10:34 PM
    @bnchdrff upsert support is coming soon, not yet available
    n
    b
    • 3
    • 2
  • b

    bnchdrff

    06/01/2017, 10:35 PM
    sweet. that is awesome 🙂
  • y

    yus

    06/01/2017, 10:57 PM
    How do i abort processing in the prewrite hook without throwing an error?
  • y

    yus

    06/01/2017, 10:58 PM
    I want to be able to abort and return a correct response to the client in the prewrite hook
  • y

    yus

    06/01/2017, 10:58 PM
    Is this possible?
  • k

    kuldar

    06/01/2017, 11:39 PM
    Is there any way of using ImageMagick / GraphicsMagick in Server-side Subscription functions? I don't find any image-related tools in the list of
    webtaskio-canirequire
  • y

    yus

    06/02/2017, 12:35 AM
    Anyone done this before? No one?
    n
    • 2
    • 5
  • e

    eliezedeck

    06/02/2017, 2:06 AM
    Is there a way to Get existing data + Subscribe to new ones? I noticed the subscription first shows nothing and waits for changes
    n
    • 2
    • 5
  • e

    em.dinh

    06/02/2017, 4:58 AM
    hi, anybody help me, please? how to add field with array type?
    n
    • 2
    • 4
  • a

    ambethia

    06/02/2017, 6:06 AM
    Is there a way to set a field to
    null
    in a mutation?
    n
    • 2
    • 5
  • f

    figo

    06/02/2017, 6:20 AM
    Got this after a field type transition from String to a custom ENUM type. Access the type data, but all data nodes are gone
  • f

    figo

    06/02/2017, 6:23 AM
    btw, data is still there after transition field type back to String. But looks like type migration results in data view loss
  • u

    user

    06/02/2017, 8:32 AM
    @ppatidar commented on @figo’s file

    https://prisma.slack.com/files/U5MLM81NG/F5M2H41SM/screen_shot_2017-06-01_at_10.52.06_pm.png▾

    : Same problem i also facing from few days
  • u

    user

    06/02/2017, 8:33 AM
    @ppatidar commented on @figo’s file

    https://prisma.slack.com/files/U5MLM81NG/F5M2H41SM/screen_shot_2017-06-01_at_10.52.06_pm.png▾

    : I thinks Its required field issue with save with null
  • h

    halborg

    06/02/2017, 10:49 AM
    Anyone inhere who by chance have found a good weather API that isn’t hella expensive? 🙂
    n
    • 2
    • 5
  • y

    yahya

    06/02/2017, 11:19 AM
    Hey everyone, I am trying to understand how to best make a graphql permission query that would let me solve this situation: I have an Office that has multiple administrators and employees. Employees track time but when they query
    { timelog: {id} }
    they should only see their own, if they are an admin (done by a many to many association on Office <> Users) they should see all timelogs, not just the current auth'd user... How could I go about this?
  • y

    yahya

    06/02/2017, 11:23 AM
    I know about these situations, but its assuming that they're all related to one system-- i want to separate it so i can have multiple offices for example
  • y

    yahya

    06/02/2017, 11:23 AM
    https://www.graph.cool/blog/2017-04-25-graphql-permission-queries-oolooch8oh/
  • y

    yahya

    06/02/2017, 11:32 AM
    would something like this work?
    n
    • 2
    • 1
1...213214215...637Latest