Skip to content

Add IRequestValidator to more easily support injection (and mocking) of RequestValidator #655

@mducharm

Description

@mducharm

Issue Summary

The example for validating requests suggests that you disable validation in your tests, but I think it'd be nice to simply register an IRequestValidator in your app's service collection, allowing you to easily mock the validator when testing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions