Patch Changes
-
#2347
595140a
Thanks @gcanti! - add backBrandSchema
and introduceasBrandSchema
utility -
#2353
5f5fcd9
Thanks @tim-smart! - makeoptional
dual:import * as S from "@effect/schema/Schema"; const schema = S.struct({ a: S.string.pipe(S.optional()), }); // same as: const schema2 = S.struct({ a: S.optional(S.string), });
-
#2356
7a45ad0
Thanks @gcanti! - makepartial
dual:import * as S from "@effect/schema/Schema"; const schema = S.struct({ a: S.string }).pipe(S.partial()); // same as: const schema2 = S.partial(S.struct({ a: S.string }));
-
#2339
5c3b1cc
Thanks @gcanti! - useSimplify
fromeffect/Types
inTaggedClass
,TaggedError
andTaggedRequest
to avoid errors inSchema.d.ts
, closes #1841 -
#2343
6f7dfc9
Thanks @gcanti! - improve pick/omit and add support for Class -
#2337
88b8583
Thanks @gcanti! - JSONSchema: allow overrides through annotations, closes #1823 -
#2348
cb20824
Thanks @gcanti! - feedback: expose Class APIidentifier
s -
#2350
a45a525
Thanks @gcanti! - refactor unions: remove sorting, flattening, and unification -
Updated dependencies [
bb0b69e
,6b20bad
,4e64e9b
,3851a02
,5f5fcd9
,814e5b8
]:- effect@2.4.8