-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 an RBS signature for sigv4 #3152
Add an RBS signature for sigv4 #3152
Conversation
Thank you, we will review this. I think you will also need: a changelog entry, add sig/ to gemspec files, and ensure rbs test passes (see tasks/rbs.rake). |
@ksss may also be interested in reviewing if you'd like. |
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 for the contribution, this is looking good!
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.
- Private API types should be removed.
- The intent and syntax are different.
- Hash arguments should be supported as well as keyword arguments.
- What about RBS testing?
I replaced |
Let me know when this is ready for re-review and I can allocate some time. |
I've made changes based on your feedback. Please review the updated code at your convenience. |
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.
We should modify tasks/rbs.rake to run the RBS test.
Is this ready for re-review from our side? |
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 good and definitely an improvement!
I added the sigv4 gem to testing but there's a couple failures. So I think we're really close. I'm not sure how to add Tempfile to rbs - the signature doesn't exist, and then we just need credentials/credential provider interfaces. |
To add stdlib (e.g. tempfile) dependencies that are not in the Gemfile.lock, you need to add the manifest.yaml file. |
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.
Nice!
Thank you @kazuyainoue0124 |
I received some advice suggesting, "Why not start with aws-sigv4?" in this PR: #3150.
Following that advice, I have added type definition files to
aws-sigv4
.