Skip to content
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

Feature/bertus infrastructure interceptor #4

Merged
merged 3 commits into from
Dec 7, 2024

Conversation

bertusviljoen
Copy link
Owner

refactor(infrastructure): reorganize project structure and remove tests

  • Migrate ApplicationDbContext to Infrastructure/Persistence.
  • Remove ApplicationTests project as it's no longer needed.
  • Update solution file to reflect the new paths.
  • Introduce DispatchDomainEventsInterceptor for domain event handling during save changes.

test(infrastructure): update tests for entity event trigger and in-memory db
Update EntityEventTriggerTests to utilize AddInfrastructure with
in-memory database support. Adjust test assertions to reflect expected
behavior when events are triggered. This ensures tests are more robust
and aligned with the new database configuration options.

chore(deps): update package references to remove version numbers
Removed specific version numbers from package references in multiple
project files, allowing for more flexible dependency resolution. This
change simplifies maintenance and ensures that the latest compatible
versions are used during build.

- Migrate `ApplicationDbContext` to `Infrastructure/Persistence`.
- Remove `ApplicationTests` project as it's no longer needed.
- Update solution file to reflect the new paths.
- Introduce `DispatchDomainEventsInterceptor` for domain event handling during save changes.
…mory db

Update `EntityEventTriggerTests` to utilize `AddInfrastructure` with
in-memory database support. Adjust test assertions to reflect expected
behavior when events are triggered. This ensures tests are more robust
and aligned with the new database configuration options.
Removed specific version numbers from package references in multiple
project files, allowing for more flexible dependency resolution. This
change simplifies maintenance and ensures that the latest compatible
versions are used during build.
@bertusviljoen bertusviljoen self-assigned this Dec 7, 2024
@bertusviljoen bertusviljoen merged commit 6db5444 into dev Dec 7, 2024
1 check passed
@bertusviljoen bertusviljoen deleted the feature/bertus_infrastructure_interceptor branch December 7, 2024 12:09
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.

1 participant