-
Notifications
You must be signed in to change notification settings - Fork 180
Add tests for converters #556
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
Conversation
commit: |
khuezy
left a comment
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.
Thanks so much for doing this! When ready, we should add this to the github workflow to run the unit test on PRs (synchronize)
| test: "test", | ||
| }, | ||
| multiValueQueryStringParameters: { | ||
| test: ["test"], |
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.
What happens when the same key (test) has different values? Do we want to merge the two? Is that even possible?
eg:
queryStringParameters: {
test: "test",
},
multiValueQueryStringParameters: {
test: ["test-multi"],
}
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 guess it shouldn't be possible, hopefully aws has some kind of validation on this to avoid this kind of case.
It already runs on validate right now |
|
Ah nice, I didn't realize. |
conico974
left a comment
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.
That's very nice thank you.
LGTM
No description provided.