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

Use DirectedCodegen #585

Merged
merged 1 commit into from
Sep 16, 2022
Merged

Use DirectedCodegen #585

merged 1 commit into from
Sep 16, 2022

Conversation

gosar
Copy link
Contributor

@gosar gosar commented Aug 31, 2022

Migrating the code generator to use Smithy's new and recommended DirectedCodegen.

These changes were initially reviewed in #548 to merge the changes in directed-codegen branch. It was merged into a branch, since the dependent Smithy release wasn't complete then. Now that is done, merging the directed-codegen branch to main.

I basically merged directed-codegen into main, resolved some very minor conflicts, and new commit to add the new EndpointV2 logic to DirectedCodegen instead of the deleted CodegenVisitor. And then I squashed all commits into a single one and force pushed to gosar:directed-merge, the branch for this PR.

I retested with yarn generate-clients && yarn test:protocols && yarn generate-clients -s && yarn install && yarn test:server-protocols and there are no diffs to generated clients, except for 1 client (identitystore) where there is rearranging of couple of exception classes only - aws/aws-sdk-js-v3#3963.

Note to reviewer, since @kuhe's approval on 8/31 (which was on commit d14731f), here are the changes after rebasing/squashing - https://github.com/awslabs/smithy-typescript/compare/d14731f006c8d73881cab2bc947113e5918bf997..2159d71300e4922c59c468cdb5ccb71ae055fe1f

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@gosar gosar requested a review from a team as a code owner August 31, 2022 18:44
@gosar gosar force-pushed the directed-merge branch 2 times, most recently from 0ab146e to 79b7ede Compare September 16, 2022 07:15
Migrate the code generator to use Smithy's new and recommended DirectedCodegen.
gosar added a commit to gosar/aws-sdk-js-v3 that referenced this pull request Sep 16, 2022
@gosar
Copy link
Contributor Author

gosar commented Sep 16, 2022

@kuhe approved it on 8/15. Ran the updates my @trivikr on 9/16, so merging it now.

@gosar gosar merged commit 3dcda36 into smithy-lang:main Sep 16, 2022
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