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

chore(codegen): move s3 transform to Java code #5963

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Apr 4, 2024

Issue

This converts the s3 expires/expiresString custom model transform from JavaScript to Java.

This makes it easier for consumers of smithy-typescript-aws-codegen to use the transform.

@kuhe kuhe requested a review from a team as a code owner April 4, 2024 20:15
}
}
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code should initially have been in Java anyway. However, at the time I couldn't figure out how to mutate the model, and wrote it in JS.

It turns out the .addX() methods on the various builders generally do a replace on a map collection, and it was easier to figure out this time.

@kuhe kuhe merged commit 58875c9 into aws:main Apr 5, 2024
5 checks passed
@kuhe kuhe deleted the chore/s3 branch April 5, 2024 15:16
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants