Creating a Generic Schema Wrapper in Effect Typescript
Another question... if I want to create a generic schema that wraps another schema, should I use the this documentation? it seems a little much for a simple case. https://effect.website/docs/schema/advanced-usage/#type-constructors. For simplicity lets say I want to create an
Envelope<Data> that just decodes/encodes a schema in {data: <the-inner-schema>}Effect Documentation
Learn advanced techniques for defining and extending data schemas, including recursive and mutually recursive types, optional fields, branded types, and schema transformations.
