# 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:** 2

<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 2, 2023, 9:31pm UTC](https://discourse.hanakai.org/t/how-should-dry-schema-and-validations-be-prepared-with-monads/790/2 "2023-03-02T21:31:03Z")

</div>

I ended up adding this to the application configuration. Example:

```ruby
class App < Hanami::App
  Dry::Schema.load_extensions :monads
  Dry::Validation.load_extensions :monads
end

```

---

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