Ugh, did dry-types/dry-validation `Types::Array.of(Types::String).constructor { ... }` suddenly stop accepting Arrays as valid input values, in favor of only accepting Strings?

Just noticed this with dry-types 1.7.2 and dry-validation 1.10.0.
#dryvalidation #drytypes

@Sandbagger I'm glad you found that #ruby toy project interesting, the ogpreview was not meant for document #docker with #Rails, but mostly to demonstrate good practices such as Railway Oriented Programming in general and @dry_rb gems in particular.

Also, if you want to go a little bit deeper, you can check the repository for my talk in #RubyConf2022, where it was more about API input validations & in general and #modularity by accident:

https://github.com/esparta/rubyconf2022

#dryrb #DryValidation

GitHub - esparta/rubyconf2022: Demo site for RubyConf 2022 talk

Demo site for RubyConf 2022 talk. Contribute to esparta/rubyconf2022 development by creating an account on GitHub.

GitHub