Convert fields
This pr adds a new option field which allows to set validation options and replaces the request fields with the converted values. If you do not like this behavior you can pass convert = false as validation option.
@sergioalvz if you do not like to have a breaking change, we should set convert false as default.
Of course we need to create some tests for it.
Fix #9
@JeffreySoriano5 if you have time it would be awesome if you could test this pr and give some feedback to the api.
@sualko will give it a go
Any update on this?
Hi Klaus,
I still need to find some spare time to review this. At first glance, it looks good, but I can tell you I won't approve the PR until there are some unit tests and it gets rid of explicit casting (i.e., as Schema) 🙂