rivatove
rivatove
@dziraf Okay, I tried this and was able to make the JSON data display correctly. To show nested JSON you need to combine 'mixed' with 'key-value', e.g: `meta: { type:...
**My use case:** I want to create a JSON-LD script tag with metadata. I want to use data passed to a component as props. No workaround is available for this...
> If we take an example of a transaction from the Prisma documentation - [example](https://www.prisma.io/docs/orm/prisma-client/queries/transactions#example), where Alice and Bob have $ 100 each and quickly trigger a transaction twice, for...
@janpio Is there a way to bump the priority of this issue slightly with a bounty? Not talking about anything immediate but maybe to consider it the next time you...
> Branded type is not supported, because it needs re-interpret type casting, the type unsafe strategy. I'm aware it requires type casting. Hence it shouldn't be enabled by default. But...
When filtering for non-null relation (_optional one-to-one_), I expect the following query: ` prisma.model.findFirstOrThrow({ where: { relation: { isNot: null } }, include: { relation: true } }); ` To...
> No plan to support this feature for safety reason. May I know what safety reasons you are referring to? How are DTO classes unsafe to be used as parameter...
> I'll need a minimal reproduction repo to test it out :/ https://github.com/rivatove/prisma-json-types-generator-418/blob/master/prisma/seed.ts Type-checking doesn't work with: ``` previewFeatures = ["strictUndefinedChecks"] ``` I don't think it's the only reason as...
> I fixed the `strictUndefinedChecks` problem with the latest release, would you mind testing it out again? > > https://github.com/arthurfiorette/prisma-json-types-generator/releases/tag/v3.2.0 It seems Prisma client extensions cause the issue. See updated...
Understandable. I'm putting a $120 bounty for anyone that fixes this and has his PR merged and released. Valid until such functionality is not supported natively by Prisma. 2025-02-08 EDIT:...