Effect CommunityEC
Effect Community2y ago
2 replies
gcanti

New Constructors and Latest Schema Additions

@1110198784417345608 I've published two new constructors: tag and TaggedStruct. You can find more details here: CHANGELOG.

Here's a recap of the latest additions (patches following the last minor release):
- Added support for Enums in Record
- Added support for the Config module
- Added optional and optionalWithOptions API interfaces
- Added onNoneEncoding for Schema.optional when used with { as: "Option" }
- Improved predicate usability of Schema.is
- Schema.optional: the default option now allows setting a default value for both the decoding phase and the default constructor. Previously, it only set the decoding default
Was this page helpful?