Cannot determine output type of decimal (prisma decimal) parameter
See original GitHub issueIf we have decimal
type in model, nest
server fails to start stating that it cannot determine output type of decimal parameter.
I am using classes generated by this packages.
Any guidance will be appreciated.
P.S. Awesome work btw!
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Prisma throws type mismatch error using Decimal ... - GitHub
In your case, you are trying to assign Prisma's output to the external Decimal variable. However, the output did not change: even though...
Read more >Prisma schema API (Reference)
Name, Required, Type, Description. provider, Yes, String ( postgresql , mysql , sqlite , sqlserver , mongodb , cockroachdb ), Describes which data...
Read more >Why I am getting cannot determine GraphQL output error?
ArticleEntity should be decorated with the @ObjectType decorator as shown in the docs https://typegraphql.com/docs/types-and-fields.html.
Read more >prisma is not assignable to type - You.com | The AI Search ...
Bug description. Prisma generates a namespace for Decimal.js that does not match the type from the import of Decimal.js from npm. This makes...
Read more >nexus-prisma - npm
Official Prisma plugin for Nexus. Usage; Roadmap; Architecture; Features. Type-safe Generated Library Code; Project Enums; Project Scalars ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yes, usually it happends when package versions mismmatch or missing package or missing reflect-metadata package.
I need steps to reproduce the issue - minimal repo with prisma schema, example nest application
You can fork https://github.com/unlight/prisma-nestjs-graphql and make changes in example application (see folder example)
My steps:
No errors.