Schema enhancements
Im trying to build some generic schema factory methods that can take in domain schemas and create json:api compatible effect schemas from them.
This is what im trying to achieve:
What I have right now is this:
But the issue is that this depends on the the schema being passed in to be of type "Struct", while I may want to pass in a transformed Struct for example. Is there a way to just specifiy a schema shape.
This is what im trying to achieve:
What I have right now is this:
But the issue is that this depends on the the schema being passed in to be of type "Struct", while I may want to pass in a transformed Struct for example. Is there a way to just specifiy a schema shape.
