Seeking Dual API for Schema Encode/Decode Functions
Is there a reason the encode/decode functions are not dual api? Or am I just not using them as intended?
I want to be able to
Instead of
I want to be able to
Schema.encode(data, schema)Instead of
Schema.encode(schema)(data)