Effect CommunityEC
Effect Community•17mo ago•
2 replies
jrmdayn

Compatibility Issue: Extending `ParseResult.ParseError` to `Schema.All` for `Schema.TaggedRequest...

Would it be possible to have ParseResult.ParseError extend a Schema.All? For ex Schema.TaggedError? Maybe there are obvious blockers to that, which is why I am asking 🙂
Right now it extends Data.TaggedError which makes it incompatible with the failure prop of a Schema.TaggedRequest. See: https://effect.website/play#32a56c22b4c5
So if my resolver fails with a ParseError atm I cannot use it directly as a failure prop, which is too bad.
Was this page helpful?