Skip to content

(Rolling) Validation Improvements #13

@MikeCarbone

Description

@MikeCarbone
  • Validate enums are unique
  • Can validate request data returns an array
  • Validate valid types
  • Validate each value in enums satisfies validation requirements
  • Add special validation for URLs
  • Validate each value in an array
  • Allow setting validation rules for values in an array
  • Refactor so that validations are pulled out and we can reuse them
    • For example, no easy way to check each value in an array
  • When validation fails for min/max on string, suggest using min_length and max_length
  • Validate that either every user has permissions or a default permissions array is supplied
  • If DomainRestricted is used, a default_permissions array must be set
  • If there is a parameter in a request,

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