-
Notifications
You must be signed in to change notification settings - Fork 24
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
Refactoring PipelineBehavior as decorator pattern #31
Comments
Hi, thanks for the subject, but it is not clear.
Could you elaborate on that? It is too vague. Maybe provide an example of your thought as a comment so we can discuss it.
This is not the library's responsibility to know any application logic. Hence we shouldn't add any behavioral change for this purpose.
The current pipeline already gives this possibility. |
Hi, firstly thanks for the response. I'll try to explain the improvement I'd like to do with the following pseudo code:
By the way, it seems that the response value is not coming in as-is pipeline. |
I understand what you mean now, It is a good addition; if you would like to add it, could you please target the v2.0 branch? Also, another PR #34 touches the same area that you want to develop; that PR might be obsolete after the pipeline development. If you open a PR we can discuss the changes from there. |
Hi thanks for your suggestions. Then, I'll do the development on the 2.0 target and open the PR request as soon as possible. |
Thanks for your issue support and suggestions 🙏 |
I woould suggest refactoring the PipelineBehavior to be the decorator pattern. After this arrangement, I think it will provide the following benefits.
By the way, if you agree, I can do this development with pleasure.
The text was updated successfully, but these errors were encountered: