Skip to content

"IS_DATE_IN_THE_FUTURE" should also accept boolean values #421

@syldb

Description

@syldb

The date validation "IS_DATE_IN_THE_FUTURE" only accepts strings values.

        {
            'field_id': self.text_field.id,
            'type': 'IS_DATE_IN_THE_FUTURE',
            'value': True,
        }

The following payload would trigger a 422 error because we expect a string value. We want to accept booleans and convert it to string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions