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

    tfiwm

    01/31/2018, 8:18 PM
    hello 😉 where can i find the changelog for prisma or the docker images?
    👍 1
    n
    • 2
    • 1
  • t

    tfiwm

    01/31/2018, 8:21 PM
    and another question 🙂 i want to use cascading deletion. is this triggering my own resolvers or just done by the db?
    n
    • 2
    • 9
  • m

    Mr.niko.la

    01/31/2018, 9:11 PM
    Hey any one know how I can get this api call to work in graphqlbin?
  • t

    tfiwm

    01/31/2018, 9:20 PM
    deleteMany throws up an error for me 😞
    • 1
    • 2
  • t

    tfiwm

    01/31/2018, 10:14 PM
    can i use my own script instead of a webhook on serverside subscriptions in prisma?
  • a

    aazlant

    01/31/2018, 11:04 PM
    can I talk to somebody about how to solve a specific technical question re: importing into graphcool? I already made a forum post but haven't gotten much response
    m
    • 2
    • 1
  • k

    Kimiiz

    01/31/2018, 11:21 PM
  • l

    lastmjs

    02/01/2018, 12:52 AM
    I'm deploying functions, anyone else seeing this?
    Copy code
    ERROR: GraphQL Error (Code: 504)
    
    {
      "error": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\n<TITLE>ERROR: The request could not be satisfied</TITLE>\n</HEAD><BODY>\n<H1>ERROR</H1>\n<H2>The request could not be satisfied.</H2>\n<HR noshade size=\"1px\">\nCloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.\n<BR clear=\"all\">\n<HR noshade size=\"1px\">\n<PRE>\nGenerated by cloudfront (CloudFront)\nRequest ID: qq3K3BKJUuR3Og2401PwZJ2F3yIDthERKJ2xuMgA0eTMsXHYMj2gBw==\n</PRE>\n<ADDRESS>\n</ADDRESS>\n</BODY></HTML>",
      "status": 504
    }
    • 1
    • 3
  • n

    Nick Luger

    02/01/2018, 7:25 AM
    Did anybody try to delete anything in prisma (that has a relational field)? https://github.com/graphcool/prisma/issues/1795 This is so basic, i assume the error should be on my side somehow.
    fast parrot 1
    j
    n
    • 3
    • 2
  • q

    qsys

    02/01/2018, 9:05 AM
    I'm having a resolver function and want to debug/log some things. In the resolver function:
    Copy code
    export default async event => {
        ...
          throw new Error('some message')
        ...
      } catch (err) {
        console.log(err)
        return { error: 'An unexpected error occured' }
      }
    }
    However, when I check the logs, I never get the log message in my logs. I always get the same message: `{"error":"The resolver function
    authorize
    is not nullable, but the function returned null."}` which is not what I expect to see. What am I missing?
    n
    • 2
    • 3
  • u

    user

    02/01/2018, 10:06 AM
    @johannpinson commented on @Kimiiz’s file

    https://prisma.slack.com/files/U907SGGE4/F930QUN87/screen_shot_2561-02-01_at_06.20.45.png▾

    : try with “graphcool” as the password 😉
  • m

    Mr.niko.la

    02/01/2018, 10:41 AM
    Y are a lot of sites doing Apollo client + graph.cool server ???
  • m

    Mr.niko.la

    02/01/2018, 10:41 AM
    Is there a speed advantage? Y not use one for both ?
  • t

    terion

    02/01/2018, 11:19 AM
    https://www.graph.cool/forum/t/how-to-run-generators-migrators-manually/2405 Can anyone help with this please?
  • f

    fvieira

    02/01/2018, 11:37 AM
    Hi everyone! Does anyone know if graphcool resolvers (which afaik run in AWS lambda) suffer from cold starts if not run in a while? I have an authenticateUser resolver which only runs once in a while (even more so since the app that calls it hasn't been released yet), and everyday, when I test the app in the morning, the login/registration fails a few times for no good reason and then it works the rest of the day. My current guess is that the container that runs my resolver is put into standby after some inactive time, so that when I next call the function it times out (or fails in other incomprehensible ways), but I can't seem to find anyone talking about this...
    c
    • 2
    • 2
  • i

    idkjsx

    02/01/2018, 11:51 AM
    hey folks, trying to run
    graphql get-schema
    on a prisma deployed service. i dont understand this console error
    ✖ Project name must be specified for multiproject config. Valid project names: database
    . Anyone now what the syntax is for this command? Or what name its looking for?
    n
    • 2
    • 1
  • i

    idkjsx

    02/01/2018, 11:51 AM
    or how i would get the valid names for the project?
  • k

    kyriakosmichael

    02/01/2018, 12:08 PM
    I have visited graph.cool and there is not an “https//” on the URL. Is this Correct? Is graph.cool not a Secure Site?
    t
    v
    • 3
    • 4
  • i

    idkjsx

    02/01/2018, 12:14 PM
    ok so you need a graphql-config file to get graphql get-schema to be able to read names on the project. still cant get the command syntax right
  • i

    idkjsx

    02/01/2018, 12:21 PM
    looks like some things have changed. its been a while. to get the schema i had to run
    graphql get-schema --endpoint dev --project project-name -o schema.graphql
    ...got this by trying flags from the help output. I guess we arent hitting urls directly anymore. leaving this here in case anyone else searches
    graphql get-schema
    here in slack. make sure you have a
    .graphqlconfig
    file in your project.
  • r

    rohanray

    02/01/2018, 12:25 PM
    We are live with Prisma 1.1.2 🎊 🎊 Visit us at https://www.jito-t20.com/ It's a national level cricket league being held in Mumbai, India over the next 3 days... We built it in 10 days... hence UI is not upto the mark
    🎉 4
    🦜 2
    n
    • 2
    • 1
  • r

    rohanray

    02/01/2018, 12:27 PM
    Thanks to Prisma team! Special thanks to @nilan @agartha @sorenbs for helping me out with our issues
    🙏🏻 1
  • l

    lewisblackwood

    02/01/2018, 1:59 PM
    Seeing lots of 504s again this morn - is there anything that can be done to improve that?
    n
    • 2
    • 1
  • l

    lewisblackwood

    02/01/2018, 2:00 PM
    Before we switch to Prisma 😉
  • l

    lawrence

    02/01/2018, 3:23 PM
    Can we refer to files in
    prisma.yml
    ? Like in serverless? E.g:
    Copy code
    custom:
        secrets: ${file(secrets.yml):${self:stage}}
  • j

    jbonigomes

    02/01/2018, 3:35 PM
    Ok, I am about to start writting a new app (from scratch) what is best, GraphCool or Prisma?
    n
    • 2
    • 4
  • q

    qsys

    02/01/2018, 4:25 PM
    can I, and how would I do it, create tokens to be used in an external service, without giving it full access? Like, e.g., I want a service to have read access to a certain table. As far as I understand, root tokens give full access... Is there a way to limit this? Or how can I generate tokens with limited access to be used in another service?
  • j

    johannpinson

    02/01/2018, 4:29 PM
    Hi guys! Anyone already made a remote deployment to digital ocean with docker-machine? I try to find the best solution to upgrade the docker image of prisma => https://www.graph.cool/forum/t/upgrading-a-cluster-on-digital-ocean/2378 Thanks 😉
  • n

    nilan

    02/01/2018, 4:31 PM
    which tutorial were you following? the manual or the machine version?
  • q

    qsys

    02/01/2018, 4:53 PM
    Is there a way to generate node tokens from the graphcool cli?
1...555556557...637Latest