-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 support for stringArray and operationContextParams #3301
Add support for stringArray and operationContextParams #3301
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #3301 +/- ##
===========================================
- Coverage 93.19% 93.18% -0.01%
===========================================
Files 66 66
Lines 14376 14412 +36
===========================================
+ Hits 13397 13430 +33
- Misses 979 982 +3 ☔ View full report in Codecov by Sentry. |
b8f4f0d
to
85adf28
Compare
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.
Looks like a great start! I left some feedback and questions that I think should be addressed. Let me know if you have any questions.
"ResourceList": { | ||
"type": "stringArray" | ||
} |
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.
Related to my pervious comment: We should included tests for string array parameters that define default values.
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.
LGTM 🚀
* release-1.35.77: Bumping version to 1.35.77 Update endpoints model Update to latest models Bump aws-actions/stale-issue-cleanup Bump codecov/codecov-action from 5.0.2 to 5.1.1 Add support for stringArray and operationContextParams (#3301)
This PR introduces support for the
stringArray
type parameter and the newoperationContextParams
trait.stringArray
Parameters: Adds thestringArray
type, which allows a list of UTF-8 encoded strings.operationContextParams
Trait: Introduces theoperationContextParams
trait, which defines context parameters that must be bound to values using a limited subset of JMESPath expressions. This trait targets an operation shape.lru_cache_weakref
: Adds the ability to take lists as input to lru_cache_weakref. All inputs to a cache must be immutable, so this change is necessary to support cachingstringArray
types. Any future lists will need to be similarly cast to a tuple to take advantage of the cache, so this centralizes the logic.