You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Executes custom logic before the validation process. Allows intercepting and altering the validation context prior to the execution of the validation rules.
18
+
/// </summary>
19
+
/// <param name="endpointFilterInvocationContext">The context of the currently executing endpoint filter, providing access to details about the HTTP request and endpoint.</param>
20
+
/// <param name="validationContext">The validation context containing information about the object being validated.</param>
21
+
/// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
22
+
/// <returns>
23
+
/// A transformed or new <see cref="IValidationContext"/> instance to be used in the validation process, or null if no changes need to be applied.
/// Executes custom logic after the validation process. Allows intercepting and altering the validation result or performing additional operations after the validation has been completed.
29
+
/// </summary>
30
+
/// <param name="endpointFilterInvocationContext">The context of the currently executing endpoint filter, providing access to details about the HTTP request and endpoint.</param>
31
+
/// <param name="validationContext">The validation context containing information about the object that was validated.</param>
32
+
/// <param name="validationResult">The result of the validation process, including validation errors if any exist.</param>
33
+
/// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
34
+
/// <returns>
35
+
/// A modified or new <see cref="ValidationResult"/> instance, or null if no changes are required to the validation result.
// Make sure we insert the `FluentValidationAutoValidationActionFilter` before the built-in `ModelStateInvalidFilter` to prevent it short-circuiting the request.
/// Executes custom logic before the validation process. Allows intercepting and altering the validation context prior to the execution of the validation rules.
18
+
/// </summary>
19
+
/// <param name="actionExecutingContext">The context of the currently executing action, providing access to details about the HTTP request and action.</param>
20
+
/// <param name="validationContext">The validation context containing information about the object being validated.</param>
21
+
/// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
22
+
/// <returns>
23
+
/// A transformed or new <see cref="IValidationContext"/> instance to be used in the validation process, or null if no changes need to be applied.
/// Executes custom logic after the validation process. Allows intercepting and altering the validation result or performing additional operations after the validation has been completed.
29
+
/// </summary>
30
+
/// <param name="actionExecutingContext">The context of the currently executing action, providing access to details about the HTTP request and action.</param>
31
+
/// <param name="validationContext">The validation context containing information about the object that was validated.</param>
32
+
/// <param name="validationResult">The result of the validation process, including validation errors if any exist.</param>
33
+
/// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
34
+
/// <returns>
35
+
/// A modified or new <see cref="ValidationResult"/> instance, or null if no changes are required to the validation result.
0 commit comments