Reuse required field across schemas

Hi!

I’ve a schema with a really specific line:

required(:phone_number, Types::StringWithoutSpaces).filled(:str?, :phone_number?)

I’d like to be able to reuse this across different schema (for example in SignUpSchema and SignInSchema), without the need to copy / paste the required line.

Found my answer :slight_smile: I think something is missing in the documentation. I’ve created a PR to fix that: https://github.com/dry-rb/dry-rb.org/pull/271