Skip to content

v0.3.9

Compare
Choose a tag to compare
@kubukoz kubukoz released this 16 Aug 13:36
· 589 commits to main since this release

What's Changed

Add support for validation traits #84

This adds support for validations whenever @length, @range or @pattern are provided. They'll be checked during the typechecking process (just like missing fields, type mismatches etc.).

Here's an example for a string marked with @length(min: 1):

image

Support for custom validations is planned and will likely come soon after smithy4s 0.15.

Full Changelog: v0.3.8...v0.3.9