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

Handler instance per request from IHandlerResolver #215

Merged

Conversation

AnthonySteele
Copy link
Contributor

@AnthonySteele AnthonySteele commented Jun 13, 2016

When using IHandlerResolver, resolve the handler per request, not once upfront
This needs tests (this behaviour was changed without tests breaking, so it's not well defined) and docs and maybe breaking changes as the other overload of WithMessageHandler works differently.

But a quick, non-breaking start is going back to old behaviour (it was like this earlier this year: https://github.com/justeat/JustSaying/blob/3aee35f286c247ba2739f6ba57ec770a13dc7656/JustSaying/JustSayingFluently.cs#L247) as per this discussion #206 (comment)

When using IHandlerResolver, resolve the handler per request, not once upfront
This needs tests and docs and maybe breaking changes
But a start is going back to old behaviour as per justeattakeaway/JustSaying#206 (comment)
@slang25
Copy link
Member

slang25 commented Jun 14, 2016

@AnthonySteele This makes sense, shall I merge and we do a minor release?

@AnthonySteele
Copy link
Contributor Author

Yes, that's a good idea.

@slang25 slang25 merged commit 269a48a into justeattakeaway:master Jun 14, 2016
@slang25 slang25 added this to the 4.0.5 milestone Jun 14, 2016
@AnthonySteele AnthonySteele deleted the handler-resolver-instancing branch October 2, 2016 15:16
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.

2 participants