Missing 'unwrap' Equivalent Function in New Version for Schema

Hi there, I just ported my code to the new version. Maybe I missed it but I didn't see something like:
export const unwrap: <R, R1, I, A>(effect: Effect.Effect<R, never, Schema<R1, I, A>>) => Schema<R | R1, I, A>

which would be the equivalent of the Stream.unwrap function in the Schema world.
I make a service of all my constants, some of which are used by Schemas, mainly for use in filters. So far, such Schemas were wrapped in an Effect with a dependency to my constants service.
With the new version, the dependency should be in the Schema itself. But to achieve this, I have to create a Schema and then transform it which is a bit clumsy. So being able to unwrap my wrapped schemas would be a plus (but I can live without it).
Was this page helpful?