class Dry::Schema::Macros::Key
def filter(*args, &block)
- Api: - public
Returns:
-
(Macros::Key)
-
Other tags:
- See: Macros::Key#value -
Other tags:
- Example: check format before coercing to a date -
def filter(*args, &block) (filter_schema_dsl[name] || filter_schema_dsl.optional(name)).value(*args, &block) self end