Open arni1981 opened 3 years ago
Feature request:
Rails sends form parameters for date_select as...
date_select
{:"date(1i)"=>2021, :"date(2i)"=>5, :"date(3i)"=>20}
I want to validate this against my schema.
required(:date).filled(:date)
Currently I need to do some pre-transforming of the parameters for this to work, having a built-in way to do this in Rails would be really nice.
Background:
This was talked about here: https://www.reddit.com/r/ruby/comments/niceer/dryschema_and_dryvalidation_gems/ and here: https://dry-rb.zulipchat.com/#narrow/stream/191662-general/topic/dry-schema/near/239935781
Feature request:
Rails sends form parameters for
date_select
as...I want to validate this against my schema.
Currently I need to do some pre-transforming of the parameters for this to work, having a built-in way to do this in Rails would be really nice.
Background:
This was talked about here: https://www.reddit.com/r/ruby/comments/niceer/dryschema_and_dryvalidation_gems/ and here: https://dry-rb.zulipchat.com/#narrow/stream/191662-general/topic/dry-schema/near/239935781