Blazored / FluentValidation

A library for using FluentValidation with Blazor
https://blazored.github.io/FluentValidation/
MIT License
581 stars 84 forks source link

[Bug] Validation not getting triggered in .net 8 #210

Closed gregoryagu closed 9 months ago

gregoryagu commented 9 months ago

Describe the bug No validation is being performed when using .net 8.

I converted a project from .net 7, to .net 8. using the new VS Template. Then moved all code/pages over.

After completing the upgrade, Fluent Validation is no longer getting triggered. It is as if there was no validation at all.

<Blazored.FluentValidation.FluentValidationValidator Options="@(options=> options.IncludeRuleSets("Adding"))" />

Hosting Model (is this issue happening with a certain hosting model?):

It was working fine in the .net 7 app, so I am not sure what happened.

gregoryagu commented 9 months ago

Never mind, there was a different issue, it's working as expected now.