Skip to content

Look into possibly adding express-validator as middleware #733

@juhanikat

Description

@juhanikat

This could improve some of the validation that is done in the backend, such as the URL parameter validation in the cross-search route. Currently the validation is very messy and is done in many different functions and files, which is confusing.

https://express-validator.github.io/docs/

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendServer-side issuescodexvalidationValidation issues or need for new validators

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions