https://www.prisma.io/ logo
Join Slack
Powered by
# random
  • a

    alli

    04/01/2019, 6:02 PM
    Hi everyone! We have some very exciting news! The Prisma and novvum.io teams will soon be working on the second version of https://www.howtographql.com/. This version will offer more community sourced tutorials and improved content 🎉. Before we start, we need feedback from all of you. If you have completed any of the tutorials in HowtoGraphQL, please take a couple of minutes to fill out our survey! https://forms.gle/Rk6oW8y6thrWrBHF9
    fast parrot 3
    👍 2
  • a

    Alejandro Estrada

    04/01/2019, 8:11 PM
    Hi everyone! I created a new package to do load-testing to a GraphQL server… the only code that you might need to write down is a
    JSON
    file with the config and then
    $ npx easygraphql-lt <CONFIG_FILE>.json
    here is a video and the link to the repo https://github.com/EasyGraphQL/easygraphql-lt
    Screen Recording 2019-04-01 at 10.55.51 AM.mov
    🙌 3
  • s

    shadowcodex

    04/02/2019, 8:24 PM
    Hey guys. Not prisma related (hence posting in random channel) but I’ve started up a small site where I’m posting tid bits of javascript knowledge call javascript nuggets. It’s free and done via twitter so you can find all the old ones easily. If you want to check it out, here’s the link. DM me if you have questions 🙂 It’s part of my larger goal to mentor and coach other devs and people looking to get into development. https://www.javascriptnuggets.com/
    🙌 2
  • h

    hani

    04/05/2019, 8:40 PM
    hello everyone, i m building a graphql with websocket only
  • h

    hani

    04/05/2019, 8:40 PM
    in playground, is it possible to use ws for everything {queries, mutations, and subscription} ?
    h
    • 2
    • 1
  • s

    Stanislav

    04/09/2019, 6:18 AM
    Hi everyone, I need a help with relation. My relation don't work two way, only one way
    j
    • 2
    • 9
  • s

    Stanislav

    04/09/2019, 6:23 AM
    I have two model User and Team with relation(name:"MembersByTeam") const newTeam: Team = await prisma.createTeam({ name: "AnyName", members: { connect: { id: userId } } }); After created Team i don't have relation in field Document User only in Document Team
  • m

    MikeAlMartinez

    04/12/2019, 12:02 PM
    Hello everyone, Having trouble setting cookies on a successful response from a mutation
  • m

    MikeAlMartinez

    04/12/2019, 12:02 PM
    Untitled.js
  • m

    MikeAlMartinez

    04/12/2019, 12:04 PM
    I have cookieParser on the server and have cors configured correctly e,g:
    j
    • 2
    • 28
  • m

    MikeAlMartinez

    04/12/2019, 12:04 PM
    -.js
  • m

    MikeAlMartinez

    04/12/2019, 12:05 PM
    I can see the cookie in the response, but then the browser just seems to ignore it?
  • m

    MikeAlMartinez

    04/12/2019, 12:05 PM
    [Symbol(outHeadersKey)]: { 'x-powered-by': [ 'X-Powered-By', 'Express' ], 'access-control-allow-origin': [ 'Access-Control-Allow-Origin', 'http://localhost:7777' ], vary: [ 'Vary', 'Origin' ], 'access-control-allow-credentials': [ 'Access-Control-Allow-Credentials', 'true' ], 'set-cookie': [ 'Set-Cookie', 'token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjanVkcmVieXAwMHY4MDg5MG1tbDU0c3hkIiwiaWF0IjoxNTU1MDY5NzY3fQ.YIKaDvZP86iE0NA0cAc_fxAvLU0MyWMekrBDnxBIhkY; Max-Age=2592000; Path=/; Expires=Sun, 12 May 2019 114927 GMT; HttpOnly' ] }
    m
    • 2
    • 4
  • d

    dnbkr

    04/18/2019, 5:56 PM
    I have a sorta vague question bc I'm not sure what the phrasing to search for is... I'm building an app that schedules an event in the future. After that date has passed, an order receipt needs to be processed. How do I keep track when the dates have passed? I could use cron jobs but that just doesn't seem right... do I repeatedly query the entire database to check for 'passed-dates'? Not really sure what the language is here so it's hard to find anything online to explain this. How can I tell when a date has passed?
    j
    • 2
    • 13
  • s

    Steveeeie

    04/21/2019, 3:42 PM
    I'm trying to get the total count of some items in a resolver but not having any success ... does anyone know what im doing wrong here:
    Copy code
    cardsCount: async (parent, args, context) => {
                return context.prisma
                    .column({ id: parent.id })
                    .cards({ aggregate: { count } })
            }
    f
    • 2
    • 4
  • l

    Lukas

    04/22/2019, 2:05 AM
    Hi everyone, Is there any nice way to deploy Prisma server on AWS Lambda? I found this tutorial (https://www.prisma.io/tutorials/deploy-prisma-to-aws-fargate-ct14), but it uses AWS Fargate, which means the Prisma server has to be always up when it isn’t used. I wanna know is there a way to deploy Prisma server in a serverless way.
  • c

    Chinmay Ajit Acharya

    04/22/2019, 1:50 PM
    Can any one guide me..How i can try prisma graphQL api with rest api client like postman?
    j
    • 2
    • 2
  • s

    Steveeeie

    04/22/2019, 5:16 PM
    Is there a way to create a unique relationship between two items?
  • r

    Renaud Hébert-Legault

    04/23/2019, 7:50 PM
    Hello everyone, I had to change today my ids from ID! to UUID! (postgres connector). I ran quickly on this issue https://github.com/prisma/prisma/issues/2750. Just making sure before going into big refactoring, is there currently a way to support both id: UUID! @unique" and "tags: [String!]!" on the same type/entity?
    t
    • 2
    • 1
  • e

    evondev

    04/24/2019, 8:43 AM
    Has anyone installed prisma locally with Docker, I have followed the tutorials but in terminal always error: "Could not connect to server at http://localhost:4466. Please check if your server is running."
    c
    d
    n
    • 4
    • 8
  • n

    Nahin

    04/24/2019, 4:23 PM
    How do I protect from expensive queries through graphQL?
    n
    h
    m
    • 4
    • 3
  • e

    evondev

    04/25/2019, 5:17 AM
    Has anyone know how to fix prisma still loading on locally
  • n

    Nahin

    04/26/2019, 3:39 PM
    Is prisma an alternative to apollo client?
    t
    • 2
    • 3
  • m

    Muneeb Akhlaq

    04/28/2019, 4:10 AM
    I am constantly getting an issue of could connect to localhost:4466 when use prisma deploy and I have tried everything like changing the end point to docker ip. Have anyone solution for it.
  • t

    Taylor

    04/28/2019, 5:28 PM
    Anyone know why can’t get the duplicate constraint to work with email field?
  • p

    philip andrew

    04/30/2019, 5:43 AM
    Hello on prisma.sh sometimes the websocket working and sometimes now, why
  • t

    Taylor

    05/12/2019, 6:28 PM
    hey guys is anyone working on wes bos course advanced react?
    j
    • 2
    • 2
  • t

    Taylor

    05/12/2019, 7:53 PM
    If anyone is looking for a solution to the pagination issue on Wes Bos course Advanced React - here it is - https://medium.com/@martinseanhunt/how-to-invalidate-cached-data-in-apollo-and-handle-updating-paginated-queries-379e4b9e4698
    👍 5
  • s

    Stefan

    05/16/2019, 7:52 AM
    🚀🚀🚀 Hey folks, in case you haven't seen it yet thought you'd be interested in knowing we (Honeypot, co-organizers of GraphQL Conf) just released the trailer of our upcoming GraphQL documentary. We'll be premiering it at GraphQL Conf and publicly releasing it on Monday June 24th! Enjoy 🙂

    https://www.youtube.com/watch?v=urmi2wbEpGk▾

    🐻 3
    🚀 6
    graphql 6
    🎥 5
    🍯 5
    🎉 6
  • t

    Taylor

    05/17/2019, 2:18 PM
    How does one handle case sensitivity when it comes to search queries in Prisma?
    j
    • 2
    • 2
1...303132...53Latest