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

    allpwrfulroot

    02/28/2018, 2:58 AM
    Has anyone figured out how to trigger notifications (push, email, etc) X days from a submission date? Trying to hook up a "reminder" sequence that's set off with a createEvent mutation
  • f

    Fi1osof

    02/28/2018, 9:40 AM
    Can prisma exec query with like-condition? E.g. select users where username like '%namepath%'
  • f

    Fi1osof

    02/28/2018, 9:41 AM
    Is this _contains condition?
    a
    • 2
    • 4
  • m

    mlukaszczyk

    02/28/2018, 10:22 AM
    Hey all 👋 Did anyone try to implement a manual ordering for relations (especially n:m) with prisma yet? parrotwave1prismaparrotwave3 https://www.graph.cool/forum/t/how-to-handle-a-manual-ordering-in-n-m-relations/2691
  • m

    Moritz

    02/28/2018, 11:43 AM
    Hi, I am trying to test subscriptions in playground. Are there any known issues here? So far, when I implement a mutation like in https://github.com/graphcool/graphql-server-example/blob/master/src/resolvers/Subscription.ts, I only get the loading circle displayed and nothing is returned when I create new objects. Does anyone have experience with this?
  • m

    Moritz

    02/28/2018, 11:51 AM
    calling in the playground:
    Copy code
    subscription{
      game{
        mutation
        node{
          id
        }
      }
    }
    with backend resolver implementation
    Copy code
    game: {
        subscribe: async (parent, args, ctx, info) => {
          return ctx.db.subscription.game({}, info)
        }
      }
    gives
    Copy code
    Request to <https://eu1.prisma.sh/>...
    query:
    subscription ($_where: GameSubscriptionWhereInput) {
      game(where: $_where) {
        mutation
        node {
          id
        }
      }
    }
    operationName: null
    variables:
    {}
    in the backend console. When I create a new game, nothing happens
    m
    n
    • 3
    • 23
  • j

    jengover

    02/28/2018, 12:41 PM
    hey everyone! i am trying to get schema.json file for my ios client but i forgot the cmd command can anyone help me?
    a
    m
    • 3
    • 2
  • j

    jengover

    02/28/2018, 12:41 PM
    i cant find it on google
  • j

    jengover

    02/28/2018, 12:41 PM
    or docs
  • p

    pratikt

    02/28/2018, 12:41 PM
    hello guys! im new with graphql stuff.. can someone suggest best way to organize graphql queries in react application .. im using react+mobx
  • j

    jengover

    02/28/2018, 12:43 PM
    anyone?
  • a

    Alex

    02/28/2018, 1:33 PM
    Hey guys, I'm having a problem with my permissions. (I'm using the graphcool console) I have a User type and a CREATE permission for everyone but one field is not selected ('rank', to define the admin status). If I'm not mistaken, when I create a node as an 'everyone' user, I should not be able to input any data in the 'rank' field, right ? Because at the moment, I can, and it's a bit problematic 😕 Could anyone help me ?
    j
    • 2
    • 3
  • r

    rein

    02/28/2018, 2:22 PM
    is it not possible yet to link nodes in Prisma data browser? Im trying to copy/paste an id but I get no response when I press Update Node
    j
    • 2
    • 1
  • e

    ericsonluciano

    02/28/2018, 2:45 PM
    anyone have a sample of file handling to s3 in node
    h
    • 2
    • 6
  • l

    lucid_frog

    02/28/2018, 2:54 PM
    Anyone already had this issue running
    prisma deploy
    ? It seem to be a typescript issue on a prisma-generated .ts file 😕
  • i

    iamclaytonray

    02/28/2018, 3:00 PM
    Is it possible to have a glob pattern in
    prisma.yml
    to find any
    /**/*.graphql
    file to combine for the
    generated
    files?
    h
    • 2
    • 4
  • u

    user

    02/28/2018, 3:03 PM
    @lucid_frog commented on @lucid_frog’s file

    https://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾

    : Alright, I’ve found something. For some reason my
    prisma deploy
    prints out comments in both
    prisma.graphql
    and
    prisma.ts
    files. This is the comment throwing an error:
    Copy code
    """
    The `Long` scalar type represents non-fractional signed whole numeric values.
    Long can represent values between -(2^63) and 2^63 - 1.
    """
    scalar Long
    The
    prisma.ts
    file breaks because of the two ” ` " around
    Long
    .
  • v

    Vendicto

    02/28/2018, 3:34 PM
    hi there, who knows how to make a query on press ?
    h
    i
    • 3
    • 20
  • u

    user

    02/28/2018, 4:17 PM
    @agartha commented on @lucid_frog’s file

    https://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾

    : This was already fixed in a previous release of the underlying
    graphql-static-binding
    to replace these quotes afaik
  • u

    user

    02/28/2018, 4:18 PM
    @agartha commented on @lucid_frog’s file

    https://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾

    : https://github.com/graphql-binding/graphql-static-binding/releases/tag/v0.8.1
  • u

    user

    02/28/2018, 4:19 PM
    @agartha commented on @lucid_frog’s file

    https://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾

    : Maybe something somewhere in that chain is still using an older dependency. What's your prisma cli version?
  • l

    lucid_frog

    02/28/2018, 4:24 PM
    @agartha I had
    npm install -g prisma
    => v 1.3.0 and had to install
    prisma-cli
    to make it work, do you know the difference between
    prisma
    &
    prisma-cli
    ?
    a
    n
    • 3
    • 6
  • p

    pasa

    02/28/2018, 4:35 PM
    Hey everyone, I've got a question concerning functions on Graphcool. I have the following scenario: I have a list with listentries and each of those listentries has its own position in relation to the other listentries of that specific list. Now I want to implement the following feature: I want to change the position of certain listentries, which means on the other hand, that I have to change the position of the other listentries of that list as well. This goes for changes of certain listentries as well as for the creation (with position: 1) and deletion. Now my question: Is it possible to use a function to set those values, when another listentry of the same list (identified by its ID) is changed, created, deleted or do I have to make those changes locally and create a mutation for every single listentry? Thanks everyone in advance! 🙂
    • 1
    • 1
  • k

    KATT

    02/28/2018, 6:28 PM
    how do i create a
    production
    stage? i’m using the typescript advanced as a base.
    prisma deploy --stage production
    just redeploys my
    dev
    stage
    n
    j
    • 3
    • 28
  • j

    jakethrog

    02/28/2018, 7:13 PM
    Anyone else seeing issues. We are not getting any responses for queries.
  • l

    lastmjs

    02/28/2018, 7:16 PM
    The console is down for me
  • s

    sorenbs

    02/28/2018, 7:30 PM
    @jakethrog and @lastmjs Please send me a dm so I can help you look into your issues. We do not have a general availability issue atm, so I will work with each of you to understand what is causing trouble for you
  • p

    patrick_madx

    02/28/2018, 9:41 PM
    I got a weird response:
    • 1
    • 1
  • b

    bobbyt

    02/28/2018, 10:20 PM
    Does anyone know if a Cognito auth function/template for Graphcool exists yet? I've only come across this forum thread, but no solution - https://www.graph.cool/forum/t/aws-cognito-integration-with-graphcool/622/3 This issue was moved to graphcool-framework - https://github.com/graphcool/graphcool-framework/issues/46 but there is no example template.
  • f

    Fitch

    03/01/2018, 5:18 AM
    Anyone have a good docker build for yoga?
1...591592593...637Latest