Cast fields to correct types
franeklubi opened this issue · comments
franeklubi commented
Sometimes id
s are returned as strings
- that's unacceptable.
A viable solution is to cast fields in models to their valid types.
Another way to solve this is passing JSON_NUMERIC_CHECK
to json responses