@typed/decoder v0.16.1
@typed/decoder
This module provides an interface Decoder<I, O>
much like the experimental module from io-ts
with support for fp-ts v3 including @effect/schema. It's signature follows directly that of
@effect/schema
's output from Parser.decode(Schema)
allowing for seamless interoperation from Schema to Decoder. Once
in Decoder land, you can compose into larger Decoders and apply transformations to its output using its
Covariant instance instead of the
Invariant instance of Schema. Because of this
difference, it is not usually possible to go back to a Schema unless it was created directly using fromSchema<A>(schema: Schema<A>): SchemaDecoder<A>
.
2 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
10 months ago
9 months ago
10 months ago
9 months ago
9 months ago
9 months ago
10 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago