#dryvalidation — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dryvalidation, aggregated by home.social.
-
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: