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

requester: choose one sock able to respond to the wanted request type #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joelguittet
Copy link

Requester sends the wanted request type only to a suitable responder able to provide an answer, based on advertisement content.

See issue #240

Joel

@dashersw
Copy link
Owner

Thank you for the pull request @joelguittet!

respondsTo has historically been only used for the Sockend component, so this would be a breaking change. Cote has never had a breaking change before in 8 years, therefore this is not a light addition. One would need to deprecate the current use of respondsTo, and in a major version (v2) introduce this segregation. As I mentioned before, kotelett already has this dynamic message selection implemented, without the use of such a static field. I would very much love to continue this work there.

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.

None yet

2 participants