Skip to content

docs: fix handler multi-tenancy + error-handling gaps (closes #3096, #3097)#3100

Merged
jeremydmiller merged 1 commit into
mainfrom
docs-3096-3097-handler-snippets
Jun 15, 2026
Merged

docs: fix handler multi-tenancy + error-handling gaps (closes #3096, #3097)#3100
jeremydmiller merged 1 commit into
mainfrom
docs-3096-3097-handler-snippets

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Closes #3096 and #3097.

multi-tenancy.md (#3096)

The TODO/FIX: snippet: sample_TenantId placeholder turned out to be redundant — the working sample_injecting_tenant_id snippet directly below it already demonstrates injecting TenantId into a handler. So rather than add a near-duplicate source region, this removes the placeholder. It also fixes a real bug in the surrounding prose: the type is JasperFx.MultiTenancy.TenantId, not Wolverine.Persistence.TenantId (verified against the host file's using JasperFx.MultiTenancy; and usage).

error-handling.md (#3097)

  • Removed the stale TODO -- link to chain policies, after that exists:) note — the chain-policies content (sample_errorhandlingpolicy) already follows immediately, so the TODO was obsolete.
  • Wired the orphaned sample_filtering_by_exception_type (it was sitting as bare plain text). The source region already exists in error_handling.cs:49-65; added the snippet markers and ran mdsnippets so the compound/inner-exception filtering example renders.

No new source code — both snippets reference already-compiling regions. Found during the documentation review (#3089).

🤖 Generated with Claude Code

…, #3097)

multi-tenancy.md: the sample_TenantId placeholder was redundant with the
working sample_injecting_tenant_id snippet right below it. Removed the
placeholder and fixed the type's namespace in prose (it is
JasperFx.MultiTenancy.TenantId, not Wolverine.Persistence.TenantId).

error-handling.md: removed a stale 'TODO -- link to chain policies' note
(the chain-policies content already follows immediately), and wired the
orphaned sample_filtering_by_exception_type snippet (region already exists
in error_handling.cs) so the compound/inner-exception filtering example
actually renders.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jeremydmiller jeremydmiller merged commit fcfd7a8 into main Jun 15, 2026
23 checks passed
This was referenced Jun 15, 2026
This was referenced Jun 26, 2026
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.

docs: handlers/multi-tenancy.md missing sample_TenantId snippet

1 participant