Skip to content

Commit

Permalink
Move Object.UnknownKeys from metadata to tagged type
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Jul 29, 2023
1 parent 4646aef commit b5b8f5b
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 146 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_NEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
- Updated API for `S.Tuple.factory`. There are plans to change it once more before the actual release
- `S.variant` used to fail when using value multiple times. Now it allows to create a struct and fails only on serializing with `InvalidOperation` code.
- Added `fail` and `failWithError` methods to the `catchCtx`
- `Object.UnknownKeys` moved from metadata to `tagged` type

## TS API changes

Expand Down
1 change: 0 additions & 1 deletion IDEAS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ let struct = S.tuple(s => (s.tag(0, "A"), s.item(1, S.int)))
- Add built-in refinements to TS API
// TODO: Update gen.ts
- Update S_Js.res to create new structs instead of mixin in the methods
- Use isObject check for S.object (???)

## v5.1

Expand Down
Loading

0 comments on commit b5b8f5b

Please sign in to comment.