https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# random
  • v

    Vladi Stevanovic

    10/13/2021, 11:23 AM
    šŸ•¶ļø 2
    šŸ˜† 6
  • s

    Shivansh Srivastava

    10/13/2021, 6:55 PM
    https://twitter.com/Shivansh_2407/status/1448361359259750403?t=QQ7z-cepSaCMOpx36NyVWQ&s=19 Prisma is ā™„ļø
  • s

    Sai Krishna

    10/16/2021, 8:41 AM
    Just launched heyslideit (a bot to save tweets to notion) on ProductHunt. Please take a look :) I think @NotionHQ fans will love it! https://www.producthunt.com/posts/slideit
  • v

    Vladi Stevanovic

    10/18/2021, 12:10 PM
    https://twitter.com/daniel2color/status/1450012493326209025
  • v

    Vladi Stevanovic

    10/18/2021, 12:10 PM
    go gopher dance 1
    šŸ‘ 1
    prisma cool 5
    fast parrot 5
  • p

    Paulo Spiguel

    10/18/2021, 12:24 PM
    Hi, I'm having difficulty in a project setup with Prisma, Docker, Postgres and nestjs. Can anyone help me with this error?
    Copy code
    node:29) UnhandledPromiseRejectionWarning: Error: Query engine library for current platform "linux-musl" could not be found.
    app-api     | You incorrectly pinned it to linux-musl
    app-api     | 
    app-api     | This probably happens, because you built Prisma Client on a different platform.
    app-api     | (Prisma Client looked in "/usr/app/node_modules/@prisma/client/runtime/libquery_engine-linux-musl.so.node")
    app-api     | 
    app-api     | Searched Locations:
    app-api     | 
    app-api     |   /usr/app/node_modules/.prisma/client
    app-api     |   /home/paulospiguel/www/dkpa/doggie/api/node_modules/@prisma/client
    app-api     |   /usr/app/node_modules/@prisma/client
    app-api     |   /usr/app/node_modules/.prisma/client
    app-api     |   /usr/app/prisma
    app-api     |   /tmp/prisma-engines
    app-api     |   /usr/app/node_modules/.prisma/client
    app-api     | 
    app-api     | 
    app-api     | To solve this problem, add the platform "linux-musl" to the "binaryTargets" attribute in the "generator" block in the "schema.prisma" file:
    app-api     | generator client {
    app-api     |   provider      = "prisma-client-js"
    app-api     |   binaryTargets = ["native"]
    app-api     | }
    app-api     | 
    app-api     | Then run "prisma generate" for your changes to take effect
    ``````
    j
    • 2
    • 1
  • t

    Tigran Tokmajyan

    10/24/2021, 6:34 PM
    Any idea why this happens after upgrade from 2.23 to 3.3?
    Copy code
    WARNING in ./libs/prisma/src/lib/client/runtime/index.js 81:73-80
    Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
    
    WARNING in ./libs/prisma/src/lib/client/runtime/index.js 85:15-22
    Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
    Debugger listening on <ws://localhost:59074/bf3dd720-b8d2-4f0e-91c1-d9b4532054a3>
    Debugger listening on <ws://localhost:59075/bf3dd720-b8d2-4f0e-91c1-d9b4532054a3>
    For help, see: <https://nodejs.org/en/docs/inspector>
    
    C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime sync:2
            var e = new Error("Cannot find module '" + req + "'");
    ^
    Error: Cannot find module 'os'
        at webpackEmptyContext (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime sync:2:1)
        at ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime\index.js:1740:15)
        at __require2 (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime\index.js:89:45)
        at ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime\index.js:2004:56)
        at __require2 (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime\index.js:89:45)
        at Object../libs/prisma/src/lib/client/runtime/index.js (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\runtime\index.js:30779:33)
        at __webpack_require__ (C:\gits\boon\backend\dist\apps\cron\webpack:\webpack\bootstrap:19:1)
        at Object../libs/prisma/src/lib/client/index.js (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\prisma\src\lib\client\index.js:17:5)
        at __webpack_require__ (C:\gits\boon\backend\dist\apps\cron\webpack:\webpack\bootstrap:19:1)
        at Object../libs/common/src/lib/services/prisma.service.ts (C:\gits\boon\backend\dist\apps\cron\webpack:\libs\common\src\lib\services\prisma.service.ts:2:1)
  • o

    Omar

    10/25/2021, 5:19 PM
    The happy sentiment on docs appears to be down, returns 502 https://prisma2-docs.netlify.app/.netlify/functions/sentiment
  • v

    Vladi Stevanovic

    10/28/2021, 3:12 PM
    šŸŽƒĀ Getting into the #halloween mood with "A Nightmare on Livestream"Ā šŸ˜‚
    Prisma_ANightmareOnLivestream.mp4
    šŸŽƒ 5
    šŸ˜… 2
    šŸ˜‚ 2
    šŸ‘» 3
    šŸ¦‡ 2
  • v

    Vladi Stevanovic

    10/29/2021, 11:08 AM
    šŸŽ How strong is your sticker game? What about your Prisma t-shirt collection? šŸ™ƒ We'd love to see all the pics of your Prisma swag collection - share them with us on instagram Instagram or twitter larger Twitter for a chance to have them featured in our newsletter.. and, of course, win more swag! 🤩
    šŸ™Œ 1
    šŸ‘ 1
    prisma rainbow 1
    šŸŽ 1
  • o

    Omar

    10/29/2021, 8:47 PM
    So while I was working with Prisma db push prototyping, I thought to myself, that it would be really great if I was able to sort the many models in my Prisma schema in an ascending fashion. And that's how
    Prisma Schema Sorter
    was brought to life today! You are more than welcome to give it a try, I have never built a public package before, so could really use your feedback and contributions, PRs are welcomed. https://www.npmjs.com/package/prisma-schema-sorter
  • j

    John McElreavey

    11/02/2021, 7:55 PM
    Does anyone know if it's possible to pass the Prisma connection string the ssl cert contents rather than a file?
  • o

    Omar

    11/05/2021, 4:46 PM
    Now you can run the
    Prisma Schema Sorter
    using the CLI, as simple as:
    Copy code
    npx prisma-schema-sorter sort --schema=path
    The
    schema
    option can be omitted, if it's on the default path:
    Copy code
    npx prisma-schema-sorter sort
    Additionally, I personally added it to
    package.json
    for quicker access and to integrate it with other scripts:
    Copy code
    {
      "scripts": {
        "sort-schema": "npx prisma-schema-sorter sort --schema='./prisma/schema.prisma'"
      }
    }
    In the future we could make it better by specifying other types of sorting besides the current default
    ascending
    . You can always send your thoughts, suggestions and contributions there. The latest version is here: https://www.npmjs.com/package/prisma-schema-sorter
  • p

    prgrmmr

    11/08/2021, 12:18 PM
    Where do I get myself a prisma shirt? šŸ˜‚
    e
    • 2
    • 1
  • h

    Holiviel Valdez

    11/08/2021, 7:23 PM
    Hello everyone, I wrote this article talking about the characteristics of the most popular blockchain development env. You can do a comparative and know which is the best for your blockchain project: https://theblockchainguy.dev/hardhat-vs-truffle-vs-remix
  • h

    Holiviel Valdez

    11/08/2021, 7:23 PM
    I will like to know what kind of content do you think we need more information on the blockchain dev world so I can write an article about that.
  • v

    Vladi Stevanovic

    11/09/2021, 10:59 AM
    Can anyone empathise? šŸ˜‚
    🤣 10
    šŸ’Æ 5
  • k

    Kenneth Gitere

    11/10/2021, 8:23 AM
    Hey guys. I don't know if this has been asked before but, since SQLite can be run on the browser through wasm, is it possible to then run Prisma purely on the client side? If it's already possible, I'd love to check out any existing examples
    a
    • 2
    • 1
  • k

    Kolade O. Adetoyinbo

    11/10/2021, 9:18 AM
    šŸ‘‹ I’m here! What’d I miss?
  • n

    n

    11/11/2021, 1:20 PM
    šŸ˜… 11
    k
    o
    • 3
    • 3
  • o

    Omar

    11/19/2021, 7:26 PM
    I have made an update to Prisma Schema Sorter which solves a known issue when there are empty lines inside the models. This was made possible through the awesome Prisma Ast library. There's a great community of libraries shaping around Prisma, which is a good step in the right direction for all of us.
  • m

    Michael Stewart

    11/22/2021, 5:33 PM
    Hello everyone !! Small (maybe ignorant) question, I believe prisma doesn’t use SQL JOINs under the hood, but separate SELECTs, can this represent a performance issue at big scale?
    šŸ‘€ 1
    n
    • 2
    • 1
  • i

    Italo Gama

    11/29/2021, 3:32 PM
    Hello guys. I’m from Brazil and i’m about to do a job developer interview in some days and i was wondering if someone would be abble to talk to me to give me some tips on English. I have a ā€œokā€ conversation but i want to improve some more. I’m really looking foward for this job. Thank you guys!
    j
    • 2
    • 1
  • t

    The Texan

    12/01/2021, 6:54 AM
    Howdy Yall. I'm trying to build a node graphql server with nexus and prisma 2 or 3. I also use the provider="nexus-prisma". I'm think I have to user prisma-nexus-plugin because it's the only way I know to not have to write lots of crud resolver manually and maintain them (experimentalCrud option). That requires 2.23.0. But my problem is that 'referential integrity' in prisma isn't supported until 2.26.0. is there a better set of library versions that would give me crud and ref-integrity? Ultimatly I just want to build a decent graphql server from my schema.prisma.
  • c

    Cro Tech

    12/02/2021, 5:02 PM
    Hey, I have a question about Prisma data proxy, but I'm wondering if this is the right place to ask.
    l
    a
    • 3
    • 2
  • g

    Gopesh Jangid

    12/13/2021, 12:10 PM
    @here what data type i should use in ms sql to handle large data with prisma ? [5:29 PM] for example as prisma support nvarchar(1000) max for text , what happens if data comes more thanĀ  1000 chars.. we have not handled for on database side as in postgresql consider a string data type to text in case of large data
  • s

    Stefano Giraldi

    12/15/2021, 11:32 AM
    Just some insight about id. I've seen some ids in this format
    Ob3KUwVSv
    . What kind of ids they are and how they could be generated?
    s
    h
    • 3
    • 3
  • d

    Daniel Olavio Ferreira

    12/24/2021, 2:30 PM
    I see prisma is trying new advertisement techniques
    šŸ˜‚ 1
    prisma dark 18
  • a

    AndrƩs RomaƱa

    12/30/2021, 5:22 PM
    Heyyy all, how can i get data between specifi dates with axios ? for example, i need a get data between 2019-11-01 and 2019-11-05 let startDate = "2019-12-01"; Ā Ā Ā Ā let endDate = "2019-12-05"; Ā Ā Ā Ā let url = `https://tmyaapiiehere.app/compras?date=${startDate}&amp;date=${endDate}`;Ā (editado)Ā  can anyone send me a docs for read about how can do it ?? or send me a message please!!!
    m
    • 2
    • 9
  • s

    Samuel Noriega

    12/30/2021, 6:02 PM
    Hello everyone, any of you have experience with BigQuery?
1...474849...53Latest