-
Notifications
You must be signed in to change notification settings - Fork 218
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
Add exclude/include tranforms using selectors #1534
Conversation
smithy-build/src/main/java/software/amazon/smithy/build/transforms/IncludeShapesBySelector.java
Outdated
Show resolved
Hide resolved
smithy-build/src/main/java/software/amazon/smithy/build/transforms/ExcludeShapesBySelector.java
Outdated
Show resolved
Hide resolved
smithy-build/src/main/java/software/amazon/smithy/build/transforms/ExcludeShapesBySelector.java
Outdated
Show resolved
Hide resolved
smithy-build/src/main/java/software/amazon/smithy/build/transforms/IncludeShapesBySelector.java
Show resolved
Hide resolved
b642db0
to
0a389fe
Compare
@@ -298,6 +298,49 @@ Only the following shape type changes are supported: | |||
} | |||
|
|||
|
|||
.. _excludeShapesBySelector-transform: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the port to 2.0 docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 I'll fix that, it should only be for the 2.0 docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, thanks!
0a389fe
to
9f18b76
Compare
9f18b76
to
1183be3
Compare
Description of changes:
Added include/exclude transforms using selectors. Using selectors is a generic way to include or exclude shapes, instead of adding specific transforms such as
byShapeType
(e.g., this PR) a selector can be used to replace that and other use cases.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.