Skip to content

Fix/multitenancy exception resolution#42

Merged
mheidari988 merged 4 commits intomainfrom
fix/multitenancy-exception-resolution
Jan 10, 2026
Merged

Fix/multitenancy exception resolution#42
mheidari988 merged 4 commits intomainfrom
fix/multitenancy-exception-resolution

Conversation

@mheidari988
Copy link
Contributor

@mheidari988 mheidari988 commented Jan 10, 2026

Summary

Add an opt-in startup filter to register UseExceptionHandler

Testing

  • dotnet test
  • Other (add details):

Checklist

  • Includes docs/changelog updates if user-facing
  • Adds/updates tests
  • Keeps public API surface minimal and backward compatible (or documents breaking change)
  • PR scoped to a single concern/module where possible

Notes

  • Breaking changes? If yes, describe impact and migration.
  • Related issues/links:

Add an opt-in startup filter to register UseExceptionHandler so custom IExceptionHandler implementations (tenant + host) execute even when the host template overrides the middleware. Document the autoUseExceptionHandler toggle alongside autoUseMiddleware.
Allow optional endpoints by default, normalize tenant ids before composing schemas/connection strings, snapshot tenants when caching/returning to avoid leaking tracked entities, and auto-place correlation pre-processors ahead of logging.
@mheidari988 mheidari988 self-assigned this Jan 10, 2026
@mheidari988 mheidari988 merged commit f322168 into main Jan 10, 2026
2 checks passed
@mheidari988 mheidari988 deleted the fix/multitenancy-exception-resolution branch January 10, 2026 09:05
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