github Effect-TS/effect @effect/schema@0.64.16

latest releases: @effect/typeclass@0.29.14, @effect/vitest@0.13.14, @effect/sql-sqlite-wasm@0.20.5...
7 months ago

Patch Changes

  • #2428 a31917a Thanks @gcanti! - export null from the AST module

  • #2436 4cd2bed Thanks @patroza! - fix: Schema JSDOC and editor click-follow for fields on struct and class

  • #2442 6cc6267 Thanks @gcanti! - Enums are now exposed under an enums property of the schema, closes #2441:

    enum Fruits {
      Apple,
      Banana,
    }
    
    // $ExpectType enums<typeof Fruits>
    S.enums(Fruits);
    
    // $ExpectType typeof Fruits
    S.enums(Fruits).enums;
    
    // $ExpectType Fruits.Apple
    S.enums(Fruits).enums.Apple;
    
    // $ExpectType Fruits.Banana
    S.enums(Fruits).enums.Banana;

Don't miss a new effect release

NewReleases is sending notifications on new releases.