-
Notifications
You must be signed in to change notification settings - Fork 8
V2.2/release #167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
V2.2/release #167
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add YAML serialization/deserialization library Introduced `Cortex.Serialization.Yaml`, a new library for YAML serialization and deserialization. Added `YamlDeserializer` and `YamlSerializer` classes with support for custom naming conventions, type converters, and flexible property handling. Implemented attributes (`YamlIgnoreAttribute`, `YamlPropertyAttribute`) for customization and `YamlException` for error handling. Added settings classes (`YamlDeserializerSettings`, `YamlSerializerSettings`) to configure behavior. Introduced `INamingConvention` and implementations (e.g., `CamelCaseConvention`, `SnakeCaseConvention`) for property name transformations. Implemented a YAML parsing system with `Scanner`, `Parser`, and `Emitter` components, along with utility classes for reflection (`CachedTypeInfo`, `PropertyMap`, `TypeInspector`) and string transformations (`StringUtils`). Added `YamlConverterAttribute` for associating custom type converters.
V2/feature/146
Update package icon and add validation behavior Replaced `andyX.png` with `cortex.png` as the package icon in the project files, reflecting a branding update. Updated the `<PackageIcon>` property and asset references in `Cortex.Mediator.Behaviors.FluentValidation.csproj`. Added a new `ValidationCommandBehavior<TCommand>` class in `VoidValidationCommandBehavior.cs`. This class implements `ICommandPipelineBehavior<TCommand>` and introduces command validation using FluentValidation, throwing a `ValidationException` for validation failures.
v2/feature/ #148: Implement ValidationCommandBehavior<TCommand>
Add async support to data store interfaces and refactor Refactor `IDataStore` into its own file for better modularity. Introduce `IAsyncDataStore` with async methods like `GetAsync`, `PutAsync`, and `RemoveAsync`, including `IAsyncEnumerable` support for .NET Standard 2.1+ and .NET Core 3.0+. Update `InMemoryStateStore` to implement `IAsyncDataStore`, adding async methods for key-value operations. Improve input validation in the constructor. Reorganize namespaces and add conditional compilation for framework-specific features. These changes enhance scalability, modernize the API, and improve maintainability.
v2/feature/ #158: Add Async/Await support
…idation-to-be-used Feature/164 allow fluentvalidation to be used
Removed the IConfiguration parameter from AddCortexMediator and made the configure parameter non-nullable. This streamlines service registration and eliminates the need to provide a configuration object.
v2.2/bug/161: Refactor AddCortexMediator method signature
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.