Closed mooyoul closed 4 years ago
Note: Published this PR as a beta release (v2.9.0-beta.0) to canary
channel (npm i dynamo-types@canary)
Just published v2.9.1-beta.1 which fixes invalid type inferences in derived class methods (e.g. Table#save
with conditions, Table#delete
with conditions)
Is it a breaking change?: Maybe
Why did you make these changes?
Closes #30
See https://github.com/balmbees/dynamo-types/issues/30#issuecomment-554690291
What's changed in these changes?
HashPrimaryKey#update
andFullPrimaryKey#update
What do you especially want to get reviewed?
N/A
Is there any other comments that every teammate should know?
Now PrimaryKey#update guarantees type safety:
Condition also respects original type:
Submission Type
All Submissions