feat!: improve channel protocol structure #298
Merged
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.
Note
Refactors the TypeScript channels generator to emit one file per protocol with namespace re-exports, updates templates/clients accordingly, and documents the breaking change.
Protocolsobject to multi-file: one file per protocol (nats.ts,kafka.ts,mqtt.ts,amqp.ts,event_source.ts,http_client.ts,websocket.ts) plusindex.tsre-exporting protocol namespaces.functionexports (no object property syntax); per-protocol dependency imports collected viacollectProtocolDependencies../nats.docs/generators/channels.mdto show new import patterns and file structure.docs/migrations/v0.mdfor breaking change 0.61.0.asyncapi-channels.yaml); adjust channel tests.runtime:typescript:clean;prepare:prnow runs runtime TS generate; usecross-envin runtime tests.TopicsMap), .gitignore tweaks.Written by Cursor Bugbot for commit dabb211. This will update automatically on new commits. Configure here.