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

    pasa

    04/08/2018, 10:23 PM
    Hey everybody, I've got the next problem, I need to fix.
    n
    • 2
    • 3
  • p

    pasa

    04/08/2018, 10:27 PM
    @nilan How, can I handle a deleteMany for related nodes in Prisma? I have a List node and ListEntry node. The relation between those two is obvious. Now I need to delete all ListEntries, related to List, when List is deleted. 'cascadeDelete' doesn't work for obvious reasons.
    h
    n
    • 3
    • 14
  • h

    harrisrobin

    04/08/2018, 10:40 PM
    @pasa why doesn't cascadeDelete work exactly?
  • h

    harrisrobin

    04/08/2018, 10:41 PM
    also Prisma or Graphcool?
  • p

    pasa

    04/08/2018, 10:53 PM
    @harrisrobin I'm using Prisma. https://github.com/graphcool/prisma/issues/2103
  • p

    Pat

    04/09/2018, 3:56 AM
    is there a good way to Create Or Connect in a nested mutation using Prisma?
    n
    • 2
    • 4
  • p

    Pat

    04/09/2018, 4:01 AM
    i.e.,
    Copy code
    db.mutation.createProduct({
      data: {
        name: 'foo',
        stores: {
          create: [
            {
              quantity: 0,
              store: {
                create: { name: store.name },
                connect: { name: store.name },
              }
            },
          ],
        },
      },
    });
  • p

    Pat

    04/09/2018, 4:02 AM
    (above is a fictional example of a many-to-may relationship where this question would be relevant)
  • m

    Moritz

    04/09/2018, 7:53 AM
    Hi everyone, I have an issue which is really holding me up, I would be very glad for any responsens. If I did not specify enough or my problem is not clear to you, please let me know. Thanks https://www.graph.cool/forum/t/resolver-implementation/3043/5
  • l

    lancej

    04/09/2018, 9:59 AM
    I have a local cluster working, but how do I switch to the prisma-us1 cluster (and back again)?
    n
    • 2
    • 14
  • s

    stevereid

    04/09/2018, 12:26 PM
    Hi, I was just wondering if http-link-dataloader is used with a prisma database?
    n
    • 2
    • 2
  • j

    Joachim

    04/09/2018, 12:41 PM
    Hi, is it possible to change my name on the team page for my application?
    n
    • 2
    • 5
  • m

    max

    04/09/2018, 5:48 PM
    Hello - I'm looking for some advice on my forum post: Flexible schema data modeling https://www.graph.cool/forum/t/flexible-schema-data-modeling/3081
    l
    • 2
    • 4
  • m

    max

    04/09/2018, 6:11 PM
    Does anyone know what changed with
    prisma-1.6
    to make it work on AWS Fargate? I already have
    prisma-1.2.8
    working on docker on EC2 + AWS RDS
  • k

    kguller

    04/09/2018, 7:20 PM
    Anyone experiencing problems adding fields to types in the schema console right now?
  • m

    matty

    04/09/2018, 7:28 PM
    Every so often my Sentry installation tells me that users are having a 500 response from the Simple API
  • m

    matty

    04/09/2018, 7:28 PM
    Is there anything I can do from my end to follow up?
  • p

    pasa

    04/09/2018, 7:41 PM
    Hello everybody. Does anyone besides me still gets the error
    Copy code
    Cannot start service prisma-database: driver failed programming external connectivity on endpoint local_prisma-database_1
    on docker startup with prisma deploy (locally)? How can I prevent this error from happening?
  • p

    pasa

    04/09/2018, 7:49 PM
    I tried the solution from 'Fi1osof' at https://www.graph.cool/forum/t/cannot-start-prisma-local-mysql-error-0-0-0-0-3306-bind-address-already-in-use/2190 , but when I enter the command
    Copy code
    sudo docker run --name=prisma-db --network local_prisma -e MYSQL_ROOT_PASSWORD=graphcool -d mysql:5.7
    to create the mysql container by hand, it just says, that it already exists, which is true. Here is the exact output from the console:
    Copy code
    docker: Error response from daemon: Conflict. The container name "/prisma-db" is already in use by container "b9e41092f086780c7a4c22ba1653eae7ceed1d9c6c3a4cec347f5d91615e8741". You have to remove (or rename) that container to be able to reuse that name.
    @nilan How should I progress from here on?
    n
    a
    • 3
    • 5
  • l

    Lea Rosema

    04/09/2018, 8:32 PM
    Hi :)
    👋 2
  • s

    Spuck253

    04/09/2018, 8:35 PM
    @kguller Yes I am also having that issue! Im getting internal server errors left and right. I had a small success in just starting a new project, but after an hour i was getting those errors again. I tried to delete a few of the projects I was not using any more, and now I just cant log in. after login im just stuck loading a project I already deleted.
    👍 1
    n
    • 2
    • 1
  • d

    Dan Riley

    04/09/2018, 9:35 PM
    Hello! Apologies if this is the wrong place to ask, but am trying to find more info about participating in the postgres connector preview?
    l
    n
    • 3
    • 2
  • k

    kguller

    04/10/2018, 12:55 AM
    @Spuck253 Thanks for confirming, I thought I was losing my mind. I thought it was just a two types having issues and only my project was having problems, but I switched projects and still had the issue. I can't even load the schema or data tables. Yesterday everything was fine, but I did refresh this morning to get the update and I think that updated version has come with these issues. I sent a note to Graphcool, but no response yet.
    n
    • 2
    • 1
  • s

    sajmil

    04/10/2018, 1:00 AM
    I'm getting a bunch of failed requests right now. Also can't load my schema etc.
    👍 2
    n
    • 2
    • 1
  • k

    kguller

    04/10/2018, 1:03 AM
    @sajmil definitely still happening here too, I've been experiencing it all day (past 9 hours) since a version update this morning. I did notice that any tables I've altered since then are having issues with both schema and data pages, typically those screens will stay in processing limbo. If I refresh enough times, it may load the schema screen, but I can't make any changes.
    ✔️ 1
  • t

    tsdexter

    04/10/2018, 1:09 AM
    also getting lots of failed to fetch network errors and just recently internal network errors trying to deploy and even a CloudFront 504 timeout while deploying…
    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>504 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\"/>\nFor more information on how totroubleshoot this error, please refer to the CloudFront documentation\n(<A href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-504-gateway-timeout.html\">https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-504-gateway-timeout.html</A>).\n<BR clear=\"all\">\n<HR noshade size=\"1px\">\n<PRE>\nGenerated by cloudfront (CloudFront)\nRequest ID: S2_zupcFB4FWddQrZ-NSbQs71s19NJ2EYxbUg-0BRGEAwkbuipeQRA==\n</PRE>\n<ADDRESS>\n</ADDRESS>\n</BODY></HTML>",
      "status": 504
    }
    ✔️ 1
  • s

    sajmil

    04/10/2018, 1:16 AM
    same here
  • t

    tsdexter

    04/10/2018, 1:21 AM
    https://status.graph.cool still doesn’t recognize there is an issue ETA @nilan?
    ✔️ 1
    n
    • 2
    • 2
  • p

    Pat

    04/10/2018, 2:17 AM
    is there a way of providing
    GraphQLResolveInfo
    as an object instead of a string?
    n
    • 2
    • 3
  • s

    Spuck253

    04/10/2018, 4:17 AM
    @kguller any update? I still cant even get to the console. its still trying to load a project i have deleted!
1...632633634...637Latest