Skip to content

Overlapping paths error #463

Answered by tywalch
zirkelc asked this question in Q&A
Jan 8, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @zirkelc

Yeah, this is a DynamoDB constraint 👎 The overlap is op.ifNotExists(attr.states, {}); As written, it performs multiple operations on the map object: setting the map itself and adding/removing properties to it. You could use a default to set an empty map on item creation and omit the ifNotExists operation, something like this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zirkelc
Comment options

Answer selected by zirkelc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants