Currently, the library supports only a limited number of types - array, hash, big_decimal, integer, float, string, boolean.
I have a need to save custom types into a DB, so I decided to try to add the functionality that will allow me to do that. During implementation, I also tried to refactor a little bit of other code in order to make it more readable.
Hi!
Currently, the library supports only a limited number of types -
array, hash, big_decimal, integer, float, string, boolean
. I have a need to save custom types into a DB, so I decided to try to add the functionality that will allow me to do that. During implementation, I also tried to refactor a little bit of other code in order to make it more readable.So here is what I've done so far:
Take note, that I was trying to keep us much backward compatibility as I can. At this moment it seems like all tests are being passed successfully.
Maintainers (@codez @berkos @huacnlee), could you please let me know whether it makes sense?
If yes, I will prepare the PR for the merge. If not - you are free to close it :)