Skip to content

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Aug 6, 2025

Issue

smithy-lang/smithy-typescript#1600

Description

Generate idempotency tokens in ShapeSerializers used by schema-serde.

Testing

New unit test

Checklist

  • [n/a] If the PR is a feature, add integration tests (*.integ.spec.ts).
  • [n/a] If you wrote E2E tests, are they resilient to concurrent I/O?
  • [n/a] If adding new public functions, did you add the @public tag and enable doc generation on the package?

@kuhe kuhe requested a review from a team as a code owner August 6, 2025 18:25

return (key: string, value: unknown) => {
if (value instanceof NumericValue) {
const v = `${NUMERIC_CONTROL_CHAR + +"nv" + this.counter++}_` + value.string;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

superfluous + symbol

@kuhe kuhe merged commit 35c2bf2 into aws:main Aug 6, 2025
4 checks passed
@kuhe kuhe deleted the schema/idempotency branch August 6, 2025 19:49
@github-actions
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 Aug 21, 2025
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