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

    AsPrO

    11/23/2017, 7:19 AM
    Can you paste your types.graphql ?
  • r

    rein

    11/23/2017, 9:30 AM
    is there a better way to view function logs than just inline in the functions tab? When I try to expand the tab, I dont see anything anymore
    ➕ 2
    n
    • 2
    • 9
  • r

    rein

    11/23/2017, 10:03 AM
    hi everyone, Im trying to create server-side notifications when a like is added on a post. This is just a direct link to a user. It seems that subscribing to a specific relation is not yet supported but I'm not sure what the alternative is now. If I subscribe to the post UPDATE, and include likes in the changed_fields, I would also get deletions? Is there anyone who experienced something similar?
  • r

    rhishikeshj

    11/23/2017, 10:21 AM
    @rein You can try the workaround mentioned here : https://docs-next.graph.cool/docs/reference/graphql-api/subscription-api-aip7oojeiv/#relation-subscriptions. There is active discussion going on here : https://github.com/graphcool/framework/issues/146 which would be relevant to you i guess
  • r

    rein

    11/23/2017, 10:22 AM
    thank you very much!
  • r

    rein

    11/23/2017, 10:34 AM
    a quick followup question, is there a way to combine a permission query with a subscription? As such that the current user is only subscribed to notifications of which he is the receiver?
  • v

    Vinnie

    11/23/2017, 10:36 AM
    @agartha You’re here, mate?
  • d

    daniele

    11/23/2017, 10:48 AM
    Hi all I was looking on the graphcool example but I'm not sure how to implement it...What I would to do is:
    given the authenticated user (token) I would like to retrieve all the companies related to his organization
    . I know that I can write a filter on apollo-client but I would like to do that on the graphcool. The question is I have to do a query or a handler function?
    i
    l
    a
    • 4
    • 175
  • n

    Nico-L

    11/23/2017, 11:08 AM
    Hello every one. I have a query returning several times the same few values. Is it possible to reduce the result to the few unique values and discarding the repeated ones?
    i
    • 2
    • 1
  • v

    Vinnie

    11/23/2017, 11:40 AM
    why gc local up is suddenly firing up on 60001?
    i
    d
    • 3
    • 3
  • v

    Vinnie

    11/23/2017, 11:43 AM
    just before a demo and I have my runtime in a VM… i have to reset the port forwarding
  • f

    freddie-codogo

    11/23/2017, 11:57 AM
    Hi All, any advice for authenticating the CLI on a CI server?
  • i

    iamclaytonray

    11/23/2017, 12:10 PM
    Can everyone vote and interact on this issue? Thanks https://github.com/graphcool/templates/issues/134
  • a

    alexanbj

    11/23/2017, 12:44 PM
    Can I use the same beforeHook for both a create and an update operation?
  • r

    rein

    11/23/2017, 12:44 PM
    hey guys, for those of you who have experience with permission queries and subscriptions. If I have a subscription for notifications without any filters client side, but I add a permission query that a user can only see notifications meant for him or her, is that a good approach?
  • e

    ersherr

    11/23/2017, 5:29 PM
    hey! quick question, for debugging resolvers, is there any guidance on using interactive debugging or breakpoints?
  • e

    ersherr

    11/23/2017, 5:29 PM
    (if i’m getting an error message let’s say from a resolver in a template)
  • a

    alexanbj

    11/23/2017, 5:42 PM
    I really need this https://www.graph.cool/docs/reference/auth/authorization/permission-queries-iox3aqu0ee#custom-variables. Is there some kind of workaround?
  • a

    Anna

    11/23/2017, 5:51 PM
    Hi! I'm trying to generate pdf from html on Lambda with Chromeless, but generated pdf has different styles then are in html. Locally everything works correct but in pdf generated on Lambda, a lot of styles aren't applied, for example borders to tables, font-sizes. Does anybody know how to fix it? p.s. I tried to generate the same pdf in Playground, everything works
  • j

    Jhony Reyes

    11/23/2017, 7:05 PM
    Hi, the “Data” module in the console does not work for me on Mac, the scrollX does not work. My colleagues in Linux works perfectly. Why is this happening?
    😞 1
    n
    • 2
    • 1
  • c

    crisscrossed

    11/23/2017, 8:26 PM
    I try to implement authentication with Vue.js, (https://www.howtographql.com/vue-apollo/5-authentication/) but the Tutorial does not reflect the latest Grahcool changes. Is there any documentation for that?
  • j

    James

    11/23/2017, 8:29 PM
    Is there a standard practice with Graphcool to manage a migration history? I feel like if you had multiple devs/envs all changing schemas at different rates it would be easy to lose the temporary directive changes (
    @rename
    and
    @migrationValue
    ) if they're removed after use.
    n
    • 2
    • 2
  • r

    roderik

    11/23/2017, 10:56 PM
    is there any precedent of using graphcool as an orchestrator
    n
    • 2
    • 2
  • r

    roderik

    11/23/2017, 11:07 PM
    ??
  • t

    thetrudel

    11/24/2017, 1:06 AM
    Does a walk through or tutorial exist on deploying to a different infrastructure other than Graphcool cloud?
  • c

    ckelley

    11/24/2017, 3:50 AM
    Hey all, has anyone had trouble downloading their schema definitions for existing projects? I converted a project just now, but when I download the .zip it's missing the src/ directory.
    n
    • 2
    • 4
  • e

    Emmett Prexus

    11/24/2017, 8:19 AM
    Working in the standard signup.ts and added name to create user. Seems to work alright, but when I deploy i get a warning in this line:
    Copy code
    const { email, password, name } = event.data
    Warnings:
    Copy code
    signup.ts (25,17): Type '{}' has no property 'email' and no string index signature.
    signup.ts (25,24): Type '{}' has no property 'password' and no string index signature.
    signup.ts (43,68): Type '{}' has no property 'name' and no string index signature.
    n
    • 2
    • 1
  • e

    Emmett Prexus

    11/24/2017, 8:19 AM
    What could that be?
  • j

    Josef Henryson

    11/24/2017, 12:08 PM
    is there some kind of backup functionality in graphcool DB? I.e if I manage to accidentally change all values of a type field, can I undo it in some way?
  • a

    Anders

    11/24/2017, 2:27 PM
    @Josef Henryson There is daily backup in the paid plans and you can restore data, I haven't used it though so I cant tell you exactly how it works 🙂
    👍 1
1...445446447...637Latest