Skip to content

Include and sort validation rules do not allow null #518

@lindyhopchris

Description

@lindyhopchris

At the moment the include and sort query validation rules use bail|string.

If the client submits an empty string, Laravel converts this to null - which then fails this validation rule.

The rules should probably allow null and then ensure the code does not error elsewhere.

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