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

    dohomi

    01/23/2018, 1:03 PM
    I see following error quite frequently in my console with subscriptions:
    Copy code
    types/maintenance:1 WebSocket connection to ‘<wss://subscriptions.graph.cool/v1/ciwyoxmas3amt0129hec6zpvl>’ failed: WebSocket is closed before the connection is established.
  • m

    max

    01/23/2018, 1:08 PM
    @matic how have you transitioning from graphcool-framework to graphql-yoga/prisma?
  • m

    max

    01/23/2018, 1:09 PM
    anything I should look out for?
    m
    • 2
    • 2
  • s

    Stephen Lau

    01/23/2018, 1:37 PM
    Hey guy's I'm still having issues with query times... I wrote a basic profiling script that does the simplest query I can think of: (if someone has a simpler one I'm happy to change it)
    Copy code
    query pointlessQuery {
          __type(name: "ID") {
            name
          }
        }
    With this I'm seeing ~2% (8/500 requests) that are > 2000ms to complete.
  • u

    user

    01/23/2018, 1:38 PM
    @Stephen Lau commented on @Stephen Lau’s file

    https://prisma.slack.com/files/U8U9DG18D/F8WFWR324/image.png▾

    : Code for the profiling is here: https://github.com/toshi38/graphql-profile
  • u

    user

    01/23/2018, 1:40 PM
    @max commented on @Stephen Lau’s file

    https://prisma.slack.com/files/U8U9DG18D/F8WFWR324/image.png▾

    : what are you susing?
  • u

    user

    01/23/2018, 1:40 PM
    @max commented on @Stephen Lau’s file

    https://prisma.slack.com/files/U8U9DG18D/F8WFWR324/image.png▾

    : *using?
  • u

    user

    01/23/2018, 1:41 PM
    @Stephen Lau commented on @Stephen Lau’s file

    https://prisma.slack.com/files/U8U9DG18D/F8WFWR324/image.png▾

    : graphcool ... through graphcms by @mlukaszczyk and team
  • u

    user

    01/23/2018, 1:41 PM
    @Stephen Lau commented on @Stephen Lau’s file

    https://prisma.slack.com/files/U8U9DG18D/F8WFWR324/image.png▾

    : @mlukaszczyk can you give any more details about your setup? 🙂
  • n

    nilan

    01/23/2018, 1:42 PM
    Thanks @Stephen Lau @matty! We are currently heavily investing in our infrastructure to reduce response time volatility 🙂 Expect this to improve dramatically over the next few weeks.
    ❤️ 3
    prisma 3
    🦜 4
    m
    s
    m
    • 4
    • 3
  • e

    Eternal1

    01/23/2018, 2:01 PM
    i want to ask a question. I'm trying to use prisma with typescript, and what i'm trying to accomplish is - disable playground if my APP_ENV is production. The code is as follows:
    Copy code
    const options = {
          port: parseInt(process.env.APP_PORT),
          playground: process.env.APP_ENV !== 'production' ? '/production' : false
    };
    server.start(options); However, i get an error that type
    string | boolean
    is not assignable to type
    string | false
    . Is there any workaround here?
  • p

    patcito

    01/23/2018, 2:02 PM
    deploying is broken again for me
    n
    • 2
    • 1
  • p

    patcito

    01/23/2018, 2:03 PM
    ✖️ software.amazon.awssdk.services.lambda.model.CodeStorageExceededException: Code storage limit exceeded. (Service: null; Status Code: 400; Error Code: CodeStorageExceededException; Request ID: a6c9d085-0044-11e8-8246-e55a831ba667)
    😕 1
  • p

    patcito

    01/23/2018, 2:03 PM
    @nilan ^^
  • m

    max

    01/23/2018, 2:33 PM
    trying to create a graphql-yoga server + prisma. Had an error so posted to the forum: https://www.graph.cool/forum/t/fields-must-be-an-object-with-field-names-as-keys-or-a-function-which-returns-such-an-object/2279
    i
    • 2
    • 1
  • j

    jamiehalvorson

    01/23/2018, 2:45 PM
    Just looking over the prisma documentation - is it possible to connect to an existing mysql database?
  • h

    harrisrobin

    01/23/2018, 2:48 PM
    @jamiehalvorson i believe they are working on it but it's not released yet.
    👍 1
  • r

    rajit

    01/23/2018, 2:53 PM
    Is anyone else experiencing random 504 errors coming back from mutations to the simple api? I don't see any related issues marked on https://status.graph.cool/ but I've been experiencing it since the morning (UK-time)
  • m

    Moritz

    01/23/2018, 3:00 PM
    Looks like downtime...
    r
    • 2
    • 1
  • j

    johhansantana

    01/23/2018, 3:25 PM
    according to this https://github.com/graphcool/prisma/issues/31#issuecomment-359415868 there's no way to deleteAllNodes in graphcool-framework? Is there a workaround for it?
    • 1
    • 4
  • v

    Vinnie

    01/23/2018, 3:33 PM
    Was prisma always there? 🙂
  • h

    harrisrobin

    01/23/2018, 4:15 PM
    Can anyone from the Prisma team look at this please: https://github.com/graphcool/graphql-server-example/issues/85 Would love an update as this is a pretty big blocker for me atm and can't show the project to a client as soon as i have custom resolvers
    m
    • 2
    • 7
  • s

    senorcodecat

    01/23/2018, 4:37 PM
    I am once again convinced that @nilan is Master Yoda
    💚 5
    fast parrot 1
  • s

    Saeris

    01/23/2018, 5:36 PM
    morning people, I'm wondering if there's a way to add custom scalar types to a Prisma powered API?
  • s

    Saeris

    01/23/2018, 5:37 PM
    basically my app is going to make use of location coordinates, so I wanted to have some custom scalars similar to these: https://github.com/enniel/graphql-geojson-scalar-types
  • s

    steve

    01/23/2018, 5:46 PM
    @nilan - Getting 504 errors from Simple API and slow response times.. any news? (..A query returning an empty list took 23sec)
    d
    n
    • 3
    • 3
  • e

    ehabdevel

    01/23/2018, 5:57 PM
    Hi, I have this from my search provider to pull there search box in my website: <link rel="stylesheet" type="text/css" href="https://secure.servers.com/tld-search/api-search.css?color=0000ff&width=700"/> <script type="text/javascript" src="https://secure.servers.com/tld-search/api-search.js?lang=en&store=ewebwea"></script> <script type="text/javascript"> searchApiOptions = { store: "ewebwea", containerId: "divID", submitURL: "", selectedTld: "com", popupBox: true, floatingBox: false }; </script> <div id="divID"></div> can I find help in how to use this with graphql in my next.js site???
  • o

    oscar

    01/23/2018, 6:26 PM
    In light of the current problem with deploying functions, is there a way to deploy changes to my types.graphql file from the command line (graphcool-framework) without deploying functions? The deploy command does both, starting with functions, so it currently fails before deploying the changes to types.
    👍 4
  • j

    jharmonious

    01/23/2018, 6:34 PM
    Hello, I’m getting the error “Error: invalid signature: 0xa” when running “graphcool import --source data.zip”. Seems like an issue with unzipping the data file. Is there a way to import without using a compressed .zip file? Thanks!
  • j

    johhansantana

    01/23/2018, 6:57 PM
    question: Would deleting the local graphcool mysql database and doing
    graphcool-framework deploy
    would redo it?
    d
    • 2
    • 1
1...537538539...637Latest