Closed bdobry closed 2 years ago
Thanks for reporting! The bug was that the custom JSON deserializer read BigDecimal values without precision and division would have resulted in a non-terminating decimal expansion. The solution is to limit the division precision to a finite number of digits. (8 in this case.)
Fixed in version 0.4.2
just released.
(I forgot to also push tag, just did so build docker image should be available by now)
Describe the bug
raises an exception
for the payload
It seems like like the partition part of division is causing the problem here.
{%= one / 2 %}
works fine but it breaks other way around.Environment where template is rendered:
0.4.1