feat(audit): improve template tests, repository and audit logs#4
Merged
feat(audit): improve template tests, repository and audit logs#4
Conversation
…te AuditLogQuery for tenant filtering feat(dataaccess): introduce AddMinimalCleanArch method for DbContext with IServiceProvider access docs(dataaccess): update README for version 0.1.16-preview and enhance usage examples feat(dataaccess): implement common repository methods AnyAsync, SingleOrDefaultAsync, and CountAsync in Repository feat(caching): extend CachedRepositoryDecorator with AnyAsync, SingleOrDefaultAsync, and CountAsync methods feat(extensions): add UseMinimalCleanArchApiDefaults method for standard API middleware pipeline feat(extensions): introduce AddMinimalCleanArchApi for service registrations with optional rate limiting docs(extensions): update README for version 0.1.16-preview and clarify usage instructions feat(validation): add AddValidation and AddMinimalCleanArchValidation methods for validator registration docs(validation): update README for version 0.1.16-preview and enhance usage examples chore: update all project versions to 0.1.16-preview in README and project files fix(tests): refactor TodoEndpointDurableTests for improved clarity and validation scenarios chore: update template version to 0.1.16-preview in scripts and template configurations
…uidance, and validation behavior
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
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.
Summary
Target
devChanges
IRepositoryand EF repository implementations with additional spec-friendly query methodsMinimalCleanArch.AuditAddValidation(...)andAddValidationFromAssemblyContaining<T>()Why
WorkTrack exposed a few gaps in the library:
Verification
dotnet build MinimalCleanArch.slndotnet test tests\MinimalCleanArch.UnitTests\MinimalCleanArch.UnitTests.csproj --no-build./scripts/pack.ps1 -PackageVersion 0.1.16-preview./templates/scripts/validate-templates.ps1 -TemplatePackagePath ./artifacts/packages -LocalFeedPath ./artifacts/packages -McaVersion 0.1.16-preview -Framework net10.0 -IncludeNugetOrgtemp/durable-verify/sqlserver-fresh/AppSqlFresh.slntemp/durable-verify/postgres-fresh/AppPgFresh.slnNotes
0.1.140.1.16-previewNU1510were not part of this change set