Skip to content

docs(events): EventAdapterFactory type + DI/testing guidance (connectum#204)#62

Merged
intech merged 2 commits into
mainfrom
docs/events-adapter-factory-204
Jul 5, 2026
Merged

docs(events): EventAdapterFactory type + DI/testing guidance (connectum#204)#62
intech merged 2 commits into
mainfrom
docs/events-adapter-factory-204

Conversation

@intech

@intech intech commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Documentation companion for connectum#223 (issue connectum#204), shipped in the 1.3.0 line:

  • en/packages/events.md:
    • BroadcastSubscribersOptions.adapter row now uses the named EventAdapterFactory type (available since 1.3.0).
    • EventAdapter core concept: new paragraph introducing EventAdapterFactory (() => EventAdapter) and when to prefer it.
    • New Dependency Injection and Testing section under Configuration: instance-first guidance, the factory as the secondary pattern (per-reactor connections), and the test-double landscape (MemoryAdapter, the upcoming FakeAmqpAdapter via connectum#203).
  • en/api/: regenerated API reference (TypeDoc) — adds the EventAdapterFactory type-alias page and updated cross-links.

Validation

  • pnpm docs:build green (no dead links) with and without the API regen.

🤖 Generated with Claude Code

https://claude.ai/code/session_015Sp8jYmRXyvUmsErDuNJvt

@github-actions github-actions Bot added the type:docs Documentation: guides, README, JSDoc label Jul 5, 2026
@intech
intech merged commit de9eddd into main Jul 5, 2026
5 checks passed
@intech
intech deleted the docs/events-adapter-factory-204 branch July 5, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:docs Documentation: guides, README, JSDoc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant