electrodb 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/entity.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrodb",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "A library to more easily create and interact with multiple entities and heretical relationships in dynamodb",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/entity.js CHANGED
@@ -2139,7 +2139,10 @@ class Entity {
2139
2139
 
2140
2140
  _batchGetParams(state, config = {}) {
2141
2141
  let table = config.table || this.getTableName();
2142
- let userDefinedParams = config.params || {};
2142
+ let userDefinedParams = this._applyProjectionExpressions({
2143
+ parameters: config.params || {},
2144
+ config,
2145
+ });
2143
2146
 
2144
2147
  // TableName is added when the config provided includes "table"
2145
2148
  // this is evaluated upstream so we remove it to avoid forming