Open
Description
Firstly, thanks for this awesome library. Big fan of dry-rb and great to see you in elixir-land!
I'm curious about one thing - it would be ideal to be able to individually create/validate subschemas/types, a little more than pure maps so I can add more checks around the place prior to validating the "master" contract. I have previously used DB-less Ecto quite a bit for this, or just pattern matching on structs at the argument level.
It would be helpful to be able to either call "conform" on a type, or otherwise use a structs-like interface to be able to create/match on types. Either that or make a contract embed-able into another.
Any plans (or recommendations) along these lines?
Thanks once again.
Metadata
Metadata
Assignees
Labels
No labels