Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

The Commanded.Commands.Dispatcher.Payload struct includes fields such as the Commanded application, configured middleware, and dispatch timeout which aren't present (or cannot be modified) in the Commanded.Middleware.Pipeline struct. However, middleware can only access and modify fields contained within the Commanded.Middleware.Pipeline.

Due to the duplication of fields and to ensure that middleware can have full control over command dispatch the Commanded.Commands.Dispatcher.Payload struct should be removed. Extending the Commanded.Middleware.Pipeline module with helper functions to build the struct would be useful for consumers (and internally).

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #330 on September 29, 2024 14:04.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.