Skip to content

feat(middleware-stack): add filter() function to middleware stack #241

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

Merged
merged 3 commits into from
May 7, 2019

Conversation

AllanZhengYP
Copy link
Contributor

Issue #, if available:

Description of changes:
Add a filter function to middleware stack class. This enables you to make copy of middleware stack with specific stats(priority, step, tags).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP merged commit a27fa86 into aws:master May 7, 2019
@AllanZhengYP
Copy link
Contributor Author

As a note here: the filter() is available in the @aws-sdk/middleware-stack's middleware stack interface but not not available in generalized @aws-sdk/types's middleware stack. Because filter() depends some members that only available in the former class implementation but not in the generalized interface.

@lock
Copy link

lock bot commented May 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants