hey folks, I've finally finished first version of dry-schema and it was pushed to rubygems today. Rough docs are here https://dry-rb.org/gems/dry-schema/ (heavily based on current dry-validation docs). Feel free to test it out and let me know how it goes. I'll be publishing a blog post about this release later this week or after Feb 11. Anyhow, check out the docs, gem i dry-schema and have fun. This also means that I'll start working on dry-validation 1.0.0 in February.
I'll test it soon.
btw it is possible to have both dry-validation and schema installed (FWIW)
Good timing. I was just looking at both this week and was confused that -schema didn't seen to exist yet.
Question: On a rails app, would it be recommended to define my DI Container on an initializer?Currently i don't have it there, but idk if there could be some issues with that
@pablocrivella yes this should work well, I've done that in the past and had no problems with such a setup
I was having some issues when combined with dry-auto_inject tho