Repository navigation
fix(core): refuse a document path of more than 32 elements #597
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
Open
LeeroyHannigan
wants to merge
16
commits into
fix/transact-validation-order
Choose a base branch
from
fix/document-path-length-on-399
base: fix/transact-validation-order
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,062
−180
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
75a783b
fix(expression): refuse a document path of more than 32 elements
LeeroyHannigan 5b64ffd
test(expression): document path length limit and its order
LeeroyHannigan ea464eb
fix(expression): value nesting after mixed parameters and Item numbers
LeeroyHannigan 8549bc0
test(expression): mixed parameters and Item numbers before value nesting
LeeroyHannigan 69e6415
Merge #399's head 5646709c6 into fix/document-path-length-on-399
LeeroyHannigan d508588
fix(expression): check a projection path's overlap before the next path
LeeroyHannigan 617ab86
fix(transact): check an Update's condition before its UpdateExpression
LeeroyHannigan 91060d0
fix(put): check the Item's numbers and nesting before the condition
LeeroyHannigan d98748b
fix(query): check key condition references and path lengths in one pass
LeeroyHannigan 4cacd55
fix(expression): build the BETWEEN bounds sentence only for a fault
LeeroyHannigan ad68185
docs(expression): state the key condition order and drop a run label
LeeroyHannigan 3626544
refactor(query): reuse the semantic walk's reference checks for keys
LeeroyHannigan 375c1ad
docs(expression): split the long sentences in the new comments
LeeroyHannigan 519f200
refactor(put): check the Item's numbers and nesting once
LeeroyHannigan dea363e
Merge fix/transact-validation-order into fix/document-path-length-on-399
LeeroyHannigan 7029242
fix(put): run the Item and value checks once, at their position from …
LeeroyHannigan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No test fails with this call removed. Without it, PutItem with
Expected: {n: {ComparisonOperator: BETWEEN, AttributeValueList: [{N: "5"}, {N: "1"}]}}answers ConditionalCheckFailedException where this head answers ValidationException.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 4cacd55. A unit test calls
evaluate_conditionwith bounds out of order, and a wire test sends yourExpectedBETWEEN on PutItem.