relationJoins
MySQL converts nested Decimal to float
#23233
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
tech/engines
Issue for tech Engines.
topic: floating point types
Topic related to floating point types and precision loss
topic: joins
topic: relationJoins
Milestone
Bug description
When using
relationLoadStrategy: 'join'
in MySQL, retrieving nested models withDecimal
fields seem to convert decimal values to floats.How to reproduce
https://github.com/michaelhays/prisma-relationjoins-decimal
See these lines for what gets logged.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: