-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Do not dynamically define operation methods #3235
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
Detected 1 possible performance regressions:
|
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.
This is now ready to review. This PR addresses the following:
- Remove dynamically defined operation methods from Base Client
- Update ApiHelper to not include eventstream shapes as part of their sample shapes
- ApiHelper now accepts custom module name when creating a sample service
- ApiHelper now has a
sample_client
method to clean up other specs
- Moved select specs from Base client to a new interface spec under BuildTools
- Updated existing fixture to test out streaming operation
- Added RBS support for generated
async_client
- Fixed rendering of async client documentation
build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/eventstream_example.rb
Show resolved
Hide resolved
...tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/client_response_structure_example.rb
Show resolved
Hide resolved
build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/code_builder.rb
Show resolved
Hide resolved
build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/rbs/client_class.rb
Show resolved
Hide resolved
build_tools/aws-sdk-code-generator/spec/interfaces/client/client_spec.rb
Show resolved
Hide resolved
build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/rbs/async_client_class.rb
Outdated
Show resolved
Hide resolved
build_tools/aws-sdk-code-generator/templates/async_client_class.mustache
Show resolved
Hide resolved
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. I can't approve my own PR, but I approve. Just be sure to revert the generated changes to force updates.
Removes dynamic operation methods definition. This allows async client operations to be called on the regular client.
This needs investigation on whether this is breaking or not.