Skip to content

Commit 6a8211e

Browse files
committed
fix(core): member trait idempotencyToken detection
1 parent e12f3ab commit 6a8211e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.changeset/wise-nails-design.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smithy/core": patch
3+
---
4+
5+
fix detection of member idempotencyToken trait

packages/core/src/submodules/schema/schemas/NormalizedSchema.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ export class NormalizedSchema implements INormalizedSchema {
3737
* @param ref - a polymorphic SchemaRef to be dereferenced/normalized.
3838
* @param memberName - optional memberName if this NormalizedSchema should be considered a member schema.
3939
*/
40-
private constructor(
41-
readonly ref: SchemaRef,
42-
private memberName?: string
43-
) {
40+
private constructor(readonly ref: SchemaRef, private memberName?: string) {
4441
const traitStack = [] as SchemaTraits[];
4542
let _ref = ref;
4643
let schema = ref;

0 commit comments

Comments
 (0)