Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DocumentFromMessage("MyId")] / [AggregateFromMessage("MyId")] #670

Open
jessestr opened this issue Dec 20, 2023 · 0 comments
Open

[DocumentFromMessage("MyId")] / [AggregateFromMessage("MyId")] #670

jessestr opened this issue Dec 20, 2023 · 0 comments

Comments

@jessestr
Copy link

jessestr commented Dec 20, 2023

As discussed in Discord, would like to extend the current functionality of the [Document] and [Aggregate] attributes so it can work without any identifiers specified in the endpoint URL.

My approach is to have (example)
DELETE /todo

Where the command received by the Todo endpoint would be DeleteTodoRequest(string TodoId);
Hence we would need an another to specify to take the identifier from the message instead of the endpoint url.

[DocumentFromMessage("TodoId")]

Would solve this

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

No branches or pull requests

1 participant