https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • m

    Martïn

    02/15/2021, 1:25 PM
    @siddhant For UX sake, see the Apple logo next to Windows app - I saw this when trying to download Studio on my Windows 10 machine and felt it’s not right.
    😂 9
    🍎 5
    j
    n
    • 3
    • 2
  • y

    YeonHoPark

    02/15/2021, 4:10 PM
    Hello everyone. in this page, where is “README.md" and what is it?
  • y

    YeonHoPark

    02/15/2021, 4:11 PM
    r
    a
    • 3
    • 7
  • s

    Samson Amaugo

    02/15/2021, 5:32 PM
    Good evening, please is prisma supported in arm for raspberry pi4 by default?
    j
    • 2
    • 3
  • t

    Taylor

    02/15/2021, 6:51 PM
    Does Prisma1 support offset-based pagination? I am only able to find cursor-based fields in the GraphQL queries...?
  • c

    cfree

    02/15/2021, 11:01 PM
    Good morning/afternoon/evening - I’m in the middle of moving my prisma1 API to prisma2 and I could use some guidance. I’ve reviewed all the docs, but I can’t quite map the old files to the new ones. I’ve taken a hybrid approach, where I created a mysql database from scratch and had prisma introspect it to create the
    schema.prisma
    , making tweaks to the db here and there until the prisma models look right. I’d like to minimize changes to my graphql schema and resolvers. I’m now at the point where I want to integrate prisma 2 with apollo, but I still need to create the typeDefs…? I was using prisma-binding and I can’t decide whether to do the SDL-first approach or use Nexus. Which is more popular? SDL-first seems more straightforward, but requires manually writing a new resolver for each grapqhl type… and resolvers for nested queries too…? Nexus seems like a more-natural transition away from prisma-binding, but the syntax is confusing. Any suggestions/recommendations?
    a
    n
    • 3
    • 14
  • p

    Peter Laca

    02/16/2021, 1:12 PM
    Hi everyone, in case anyone is trying to run Prisma v2 on 32-bit ARM (Raspberry Pi) - give this a try https://github.com/petlack/prisma-base-arm
  • j

    Julius de Bruijn

    02/16/2021, 2:08 PM
    if there's any emacs users here, I hacked together today a prisma major mode with syntax hilight and indentation: https://github.com/pimeys/emacs-prisma-mode super alpha, needs js-mode as basis and might break in weird ways, PRs welcome
  • d

    Daniel Norman

    02/16/2021, 5:15 PM
    Hey there 👋🏼, We just published a video on how to upgrade and address the remapping of the
    Float
    type in Prisma 2.17.0 which was released today prisma green. The changes affect you if you’ve been using Prisma Migrate and the
    Float
    type in your Prisma schema.

    https://www.youtube.com/watch?v=OsuGP_xNHco&ab_channel=Prisma▾

    🎓 1
    prisma green 6
    prisma rainbow 3
    prisma cool 4
  • n

    Nimesh Gurung

    02/17/2021, 10:56 AM
    I am currently coming close to releasing my side project and need to move away from Heroku to AWS, so that the DB can be hosted in Asia Pacific region. Kind of lost looking at options, and the one that sounds sensible seems to be Amazon Aurora with Postgres compatibility. Has anybody in here have had experience setting up Amazon Aurora with Prisma 2? If so are there any gotchas to it?
    r
    • 2
    • 3
  • g

    glekner

    02/17/2021, 3:55 PM
    any idea why my graphql playground schema won’t update to my latest changes?
    j
    r
    • 3
    • 3
  • g

    glekner

    02/17/2021, 3:55 PM
    I tried both
    migrate
    and
    db push
  • p

    Pieter

    02/17/2021, 4:19 PM
    Any way to generate validation schema for prisma somehow? e.g. spit out a yup/zod/jsonschema type based on args needed. some libraries require some validation schema such as yup schema or zod for args. Similar to how nexus requires args: { stringArg() } and then the resolver just calls prisma with the args. Would be great if we could have some validation schema that hooks into nexus and other libs in a standard way just be spit out. I know nexus-plugin-prisma takes care of the nexus need, but there are other libs out there with similar needs.
    k
    • 2
    • 2
  • i

    Ivan Lukianchuk

    02/18/2021, 1:55 AM
    I'm having a hell of a time using NextJS with Postgres on AWS with Prisma, I keep running out of connections, made suggested fixes, increased timeouts, and it either take like 2 minutes for a single page to load or I get this:
    Copy code
    connect ECONNREFUSED 127.0.0.1:58658
    Does anyone have any idea how to solve that or has seen this?
    r
    • 2
    • 1
  • s

    Shubham Jain

    02/18/2021, 7:27 AM
    I just want to restrict a region so that the security scanner would leave the resources of the AWS cloud, is there any way
  • h

    Hardik G

    02/18/2021, 9:54 AM
    is there any way to set default value for graphQL schema type?
  • h

    Hardik G

    02/18/2021, 9:54 AM
    i am using graphql-yoga.
    r
    • 2
    • 15
  • n

    Natalia

    02/18/2021, 4:03 PM
    What's New In Prisma 2.17 is live now! fast parrot Ryan and Niko from Prisma talk about new releases, planned features and other interesting bits from the Prisma world. This time they're also joined by two surprise guests. 🎁

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

    ✅ 7
    ❤️ 1
    party postgres 5
    👀 6
    fast parrot 1
  • s

    Sayer Tindall

    02/18/2021, 8:31 PM
    Hi everyone, stoked to be here - quick question: Is there an example anywhere of using Prisma2 with vanilla Nexus/without the plugin? Having a hard time as I'm used to building with the plugin. Lastly, I saw in the issue that expected release for the nexus-prisma plugin was late Q1 / early Q2 - is that still the case? thank you allllll, cheers 🏄‍♂️
    n
    • 2
    • 4
  • w

    William Chantry

    02/19/2021, 3:30 AM
    Does anyone know a way to map the names of join tables? having ‘A’ and ‘B’ is going to make it more difficult on the non-prisma clients that are using our db (power-bi)
    r
    d
    • 3
    • 3
  • j

    Jijin P

    02/19/2021, 9:05 AM
    I got this error when I just upgraded Prisma version. Any idea how to fix this one
    j
    • 2
    • 1
  • b

    Bradly Locking

    02/19/2021, 1:03 PM
    Bump
  • r

    Ron Mizrahi

    02/19/2021, 1:03 PM
    Hello, I have a question. Do you know if prisma does sql injection sanitize?
    r
    • 2
    • 3
  • j

    Jyn

    02/21/2021, 12:11 PM
    Hello guys, i have a question abou*t graphql query pagination / RANDOM* I use a
    pagination
    when querying items (20 per each). But since graphql doesn't support
    orderby: Random
    , I’m planning to make a new column
    Index
    at the table (auto-increment integer) and query with randomly created 20 numbers.
    But like this, I guess the pagination is not really useful nor possible, so I’m thinking to remove it. Do you think this idea could have a possible performance bottleneck?
    r
    • 2
    • 1
  • p

    Philipp Rajah Moura Srivastava

    02/21/2021, 7:35 PM
    Hey everyone, prisma 1 user here. I recently launched a small beta of my app using prisma on the backend I’m a complete noob to dev ops stuff and I was wondering if there was a way to update my prisma model without losing the data I already have in the database.
    a
    k
    • 3
    • 2
  • u

    李白字一日

    02/22/2021, 2:13 AM
    why not combine xxx_ref with xxx?
  • u

    李白字一日

    02/22/2021, 2:15 AM
    if xxx_ref is included in queries, then xxx turn from id to object.
  • u

    李白字一日

    02/22/2021, 2:16 AM
    it is very annoying to have xxx and xxx_ref.
  • r

    Ron Mizrahi

    02/22/2021, 6:32 AM
    Hey guys, do you use Prisma in Production?
    d
    • 2
    • 6
  • d

    Donald Wu

    02/22/2021, 6:59 AM
    @Ron Mizrahi yes why not
1...417418419...637Latest