Making a Class Schema Generic in Effect Typescript

hey folks! I'd like to know if it's possible to make a class schema generic somehow. Here's an example of what I want to achieve: https://effect.website/play#a19ad65b6a77

I understand it's not that simple because it's necessary to have the object for the parameterized attribute (which is not just the type, but the actual class for the attribute type, transforms, ...)

I attempted to do it creating a factory that returns the Container type for each possible parameterization, but the problem there is that I won't have access to the constructor of the target container type inside the map method. Is it possible somehow?
Was this page helpful?