Deepwalker / trafaret

Ultimate transformation library that supports validation, contexts and aiohttp.
http://trafaret.readthedocs.org/en/latest/
BSD 2-Clause "Simplified" License
177 stars 31 forks source link

Is OK that `t.Int().check("1")` returns `'1'` not `1`? #113

Closed VadymKhodak closed 4 years ago

VadymKhodak commented 4 years ago

trafaret version 2.1.0: image

trafaret version 1.2.0: image

Deepwalker commented 4 years ago

Yes. It was v2.0 when we introduced ToInt, ToFloat etc. So if you want old behaviour you should use ToInt now.

VadymKhodak commented 4 years ago

Thank you!