Skip to content

bugfix: validators weren't invoked#1

Open
zzzzzeke wants to merge 1 commit intoElfocrash:masterfrom
zzzzzeke:master
Open

bugfix: validators weren't invoked#1
zzzzzeke wants to merge 1 commit intoElfocrash:masterfrom
zzzzzeke:master

Conversation

@zzzzzeke
Copy link
Copy Markdown

Followed documentation from FastEndpoints on FluentValidation.

@timbze
Copy link
Copy Markdown

timbze commented Sep 5, 2022

Documentation link is now changed to this

@Elfocrash

@kashdevine
Copy link
Copy Markdown

kashdevine commented Oct 28, 2022

In Program.cs you can change builder.Services.AddFastEndpoints(); to builder.Services.AddFastEndpoints(o => o.IncludeAbstractValidators = true); instead of removing the abstract validator.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants