RA.Utilities.Application.Validation
Version 10.0.0
- Initial release of the
RA.Utilities.Application.Validationpackage. - Provides utility validators using
FluentValidationfor incoming requests.
RA.Utilities.Application.Validation package.FluentValidation for incoming requests.Updated the project from version 10.0.100-rc.2 to 10.0.0, marking the transition from release candidate to stable release.
Update the project file to transition from release candidate 10.0.0-rc.2 to the final stable release 10.0.0.
This signifies that the code is considered stable and ready for production use, reflecting confidence in its readiness and addressing any issues identified during the release candidate phase.
Updated the project version from 10.0.0-rc.2 to the stable release version 10.0.0 in preparation for a production release.
This release introduces a major architectural refactoring of the base entity classes to provide a more flexible and intuitive inheritance hierarchy.
CoreEntity Root Class:
CoreEntity, has been introduced as the root of the hierarchy. It provides a single virtual Id property of type Guid.Add MustMatchesCurrencyFormat extension method. This design allows developers to chain this custom validation rule into any string property within their FluentValidation validator classes.
Introduced TagOperationTransformer, a new document transformer that allows you to add or update descriptions for OpenAPI tags. This is particularly useful for documenting controller groups without cluttering the code with attributes.
You can register it using the AddTagOperationTransformer extension method:
builder.Services.AddOpenApi(options =>
{
options.AddTagOperationTransformer(new Dictionary<string, string>
{
{ "Products", "Operations related to product management." },
{ "Orders", "Operations for processing customer orders." }
});
});
TagOperationTransformer to reduce allocations and handle empty tag lists efficiently.#e93b779 Update version to 10.0.6 and correct example serialization in OpenApiOperationUtilities
Updated the project from release candidate version 10.0.0-rc.2 to the final version 10.0.0, indicating readiness for production use.