Issue with Schema Requirement Not Propagating Correctly in Decode Function
Hey, I'm trying to use a Schema with a
I would expect that given a
Am I messing something up or is this expected?
Repro: https://effect.website/play#c0364ab8ecc2
Requirement but the Requirement isn't propagated correctly when trying to decode with that schema, instead it ends up as unknown.I would expect that given a
Schema<A, I, UserContext> (created as the docs suggests withtransformOrFail in the async transformation section) running yield* Schema.decode(schema) would yield an Effect<A, ParseError, UserContext> but instead it results in Effect<A, ParseError, unknown>.Am I messing something up or is this expected?
Repro: https://effect.website/play#c0364ab8ecc2
