Skip to content

Conversation

tywalch
Copy link
Owner

@tywalch tywalch commented Jan 28, 2025

Resolves an issue where updating an item with map attributes containing similar keys (after removing non-word characters) would generate conflicting expression attribute names. Now ensures unique attribute names for each key during update operations.

Resolves an issue where updating an item with map attributes containing similar keys (after removing non-word characters) would generate conflicting expression attribute names. Now ensures unique attribute names for each key during update operations.
Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for electrodb-dev canceled.

Name Link
🔨 Latest commit 1df4483
🔍 Latest deploy log https://app.netlify.com/sites/electrodb-dev/deploys/67ab73fa5183a60008848850

- Fixed typing for "batchGet" where return type was not defined as a Promise in some cases.
- Changes reverse index constraint when keys are defined with a `template`. Previously, ElectroDB would throw if your entity definition used a `pk` field as an `sk` field (and vice versa) across two indexes. This constraint has been lifted _if_ the impacted keys are defined with a `template`. Eventually I would like to allow this for indexes without the use of `template`, but until then, this change should help some users who have been impacted by this constraint.
@tywalch tywalch merged commit cdf3bba into master Feb 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant