Open 0x62ash opened 6 years ago
Or maybe i should somehow bind my boolean column to JSON::PP::true/false objects...
At this point making such a change would be backwards incompatible for anyone who has depended on the existing behavior for very long. I'd accept a PR to make it a flag though.
I was hit by this issue today, wondering how I could fix it :(
Well, yes, I did that for the table I needed right away, but I was thinking more of a cleaner way in a helper :) Don't worry, I'll figure out something.
ToJSON should return JSON::PP::false, JSON::PP:true for boolean data-types.