It may be necessary in some situations to initialize schemas from handler params (accessible via the #params getter). Presently, the Marten::Schema class does not allow to do that easily, but this is something that should be possible.
Let's ensure that schemas can be initialized from handler parameter hashes.
Description
It may be necessary in some situations to initialize schemas from handler params (accessible via the
#params
getter). Presently, theMarten::Schema
class does not allow to do that easily, but this is something that should be possible.Let's ensure that schemas can be initialized from handler parameter hashes.