prisma / quaint

SQL Query AST and Visitor for Rust
Apache License 2.0
583 stars 61 forks source link

don't panic if decimals don't fit #343

Closed snf closed 2 years ago

snf commented 2 years ago

Hi, I'm hitting this in my prisma code if the big decimal is too large. Found it with the number 6.673310573781466e+51 . Adding a check in my code but, regardless, I don't think the lib should panic.

pimeys commented 2 years ago

No it should not panic. Thanks for the fix. Will merge tomorrow.

snf commented 2 years ago

Thank you for the prompt response!