# How should Dry Schema and Validations be prepared with monads?

**URL:** <https://discourse.hanakai.org/t/how-should-dry-schema-and-validations-be-prepared-with-monads/790>\
**Category:** questions\
**Created:** [January 28, 2023, 3:38pm UTC](https://discourse.hanakai.org/t/how-should-dry-schema-and-validations-be-prepared-with-monads/790 "2023-01-28T15:38:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bkuhlmann](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.hanakai.org/bkuhlmann/32/475_2.png) [@bkuhlmann](https://discourse.hanakai.org/u/bkuhlmann)\
**Post date:** [March 6, 2023, 6:29pm UTC](https://discourse.hanakai.org/t/how-should-dry-schema-and-validations-be-prepared-with-monads/790/4 "2023-03-06T18:29:23Z")

</div>

I opted to respond more fully in this [question](https://discourse.hanakai.org/t/what-is-the-best-way-to-initialize-dependencies/802/4) but thanks for this. 🙇‍♂️ Yeah, I agree, this is a valid solution. A part of me kind of wants to leverage the provider lifecycle more for this because it _feels more consistent_ but maybe that’s just me, though.

---

_[View the full topic](https://discourse.hanakai.org/t/how-should-dry-schema-and-validations-be-prepared-with-monads/790)._
