With these changes I was able to replace every occurrence of withSchema with applySchema and the tests are passing.
Now applySchema accepts plain functions and infers the types of the function's parameters.
I also deprecated withSchema and updated docs and examples to omit its usage.
This should solve #163
It also closes the latest remaining task of #155 =D
With these changes I was able to replace every occurrence of
withSchema
withapplySchema
and the tests are passing. NowapplySchema
accepts plain functions and infers the types of the function's parameters.I also deprecated
withSchema
and updated docs and examples to omit its usage.This should solve #163
It also closes the latest remaining task of #155 =D