nomasystems / ndto

:white_check_mark: An Erlang library for DTOs validation.
https://nomasystems.github.io/ndto/
Apache License 2.0
24 stars 1 forks source link

fix: nullable ignores type validations #107

Open albertocsouto opened 1 month ago

albertocsouto commented 1 month ago

Steps to reproduce:

  1. Declare a nullable string in a DTO
  2. Pass an integer in that field
  3. Validation will pass
albertocsouto commented 1 month ago

Added a branch with a test demonstrating the issue