-
Notifications
You must be signed in to change notification settings - Fork 634
Open
Labels
breaking-changeIssue requires a breaking change to remediate.Issue requires a breaking change to remediate.bugThis issue is a bug.This issue is a bug.feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
Identified in #7012
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
latest
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
all
Reproduction Steps
instantiate any Command from lib-dynamodb and modify a sub-property of input
.
Observed Behavior
no type error
Expected Behavior
typescript error for modifying a readonly property
Possible Solution
Use a type transform to set DynamoDBDocumentClientCommand::input
to a recursively readonly type.
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
breaking-changeIssue requires a breaking change to remediate.Issue requires a breaking change to remediate.bugThis issue is a bug.This issue is a bug.feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog