Skip to content

The validation of user data in routes should be abstracted #22

Description

@davidvandusen

Current state

Validating any user data, whether path variables, query string parameters, or request body properties, are handled on an ad hoc bases. A pattern is emerging, and it's likely that there is a library that can be leveraged to simplify validation.

Desired state

  • The parts of route handlers that deal with user data leverage a module that handles validation consistently given nothing more that configuration. This could be middleware, helper functions, or a library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions