Skip to content
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

feat: implement DefaultEndpointResolver using CRT #634

Merged
merged 8 commits into from
Oct 17, 2022

Conversation

ganeshnj
Copy link
Contributor

@ganeshnj ganeshnj commented Oct 5, 2022

Issue #

#624

Description of changes

This changes takes awslabs/aws-crt-swift#79 Swift bindings and create wrappers for it in AWS Client Runtime. These wrappers are used in the service code which is codegen.

New/existing dependencies impact assessment, if applicable

No new dependencies were added to this change.

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ganeshnj ganeshnj mentioned this pull request Oct 5, 2022
6 tasks
@ganeshnj ganeshnj force-pushed the jangirg/feat/endpoints-2 branch from f039f3e to d801431 Compare October 7, 2022 23:20
@ganeshnj ganeshnj force-pushed the jangirg/feat/endpoints-2-crt branch from 5757f14 to d9c4cce Compare October 7, 2022 23:21
@ganeshnj ganeshnj force-pushed the jangirg/feat/endpoints-2 branch from d801431 to fa1c4a3 Compare October 7, 2022 23:22
@ganeshnj ganeshnj requested a review from jbelkins October 11, 2022 22:19
Copy link
Contributor

@jbelkins jbelkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one general question

writer.write("self.endpointResolver = endpointResolver")
}
writer.indent().write("self.${it.memberName} = try \$L()", AWSServiceTypes.DefaultEndpointResolver)
writer.dedent().write("}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to address it here, but using indent then dedent is an awkward, potentially error-prone way of writing an if-else statement... wonder if there should be a method on writer for a two-block statement

@ganeshnj ganeshnj merged commit fed6cc3 into jangirg/feat/endpoints-2 Oct 17, 2022
@ganeshnj ganeshnj deleted the jangirg/feat/endpoints-2-crt branch October 17, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants