Skip to content

Migrate to .NET 10 and adopt FluentValidation - #93

Merged
marcominerva merged 1 commit into
masterfrom
develop
Nov 13, 2025
Merged

Migrate to .NET 10 and adopt FluentValidation#93
marcominerva merged 1 commit into
masterfrom
develop

Conversation

@marcominerva

Copy link
Copy Markdown
Owner

Updated project to target .NET 10.0 and replaced Data Annotations with FluentValidation for validation tasks. Updated C# version references to C# 14 in documentation. Removed MinimalHelpers.Validation library and its examples from the README. Introduced a new PersonValidator class for FluentValidation rules.

Refactored Person class to a record with nullable properties. Upgraded package references and added conditional compilation for OpenAPI extensions to ensure compatibility across .NET 8/9 and .NET 10+. Marked WithValidation<TModel> as obsolete for .NET 10+ with a recommendation to use built-in validation features.

Performed minor formatting adjustments and removed outdated examples from the documentation.

Closes #92

Updated project to target .NET 10.0 and replaced Data Annotations
with FluentValidation for validation tasks. Updated C# version
references to C# 14 in documentation. Removed `MinimalHelpers.Validation`
library and its examples from the README. Introduced a new
`PersonValidator` class for FluentValidation rules.

Refactored `Person` class to a record with nullable properties.
Upgraded package references and added conditional compilation
for OpenAPI extensions to ensure compatibility across .NET 8/9
and .NET 10+. Marked `WithValidation<TModel>` as obsolete for
.NET 10+ with a recommendation to use built-in validation features.

Performed minor formatting adjustments and removed outdated
examples from the documentation.

#92

Related Work Items: #9
@marcominerva
marcominerva merged commit 254c88c into master Nov 13, 2025
7 checks passed
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.

Update to .NET 10

1 participant