Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Refactor runtimeType usage in codegen #1933
Refactor runtimeType usage in codegen #1933
Changes from 14 commits
65e6ed9
8b668ad
813e388
f1e9e1f
f652e30
a47ab41
9979d76
9a50129
b8678ff
263d9c6
52a55fd
ced89c5
40759ad
7400922
84acfd2
840d13a
3e8a0a4
8d48f5c
f651183
6daebef
ab09d99
1c95fb7
7aae03d
2c0ed8b
558ddc8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
Shouldn't this be in
SdkConfigDecorator
?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 think no because I feel that all the section writing code should be defined in one place. The combined decorator is also the place where we have access to the full list of decorators that modify an
AwsSection
.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.
Organizationally, this isn't going to work out well since people will think to look in
SdkConfigDecorator
for this code rather than inAwsCombinedCodegenDecorator
. The full list of decorators can be passed into the customizations if it's required (and I think we do that incodegen-core
/codegen-client
).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.
Russell is adding the ability to do this as part of #1953, I can take the change from that or wait for the merge.