Skip to content

Commit 410172a

Browse files
authored
Update dynamodb.mustache
1 parent 239f600 commit 410172a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

graphql/model/dynamodb.mustache

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export class DataTable {
3232
} else {
3333
attrItem['M'] = {}
3434
Object.keys(objValue).map(key => {
35+
/* eslint-disable detect-object-injection */
3536
attrItem['M'][key] = recursiveParseItem(objValue[key])
3637
})
3738
}
@@ -49,6 +50,7 @@ export class DataTable {
4950
return attrItem
5051
}
5152
Object.keys(objItem).map(key => {
53+
/* eslint-disable detect-object-injection */
5254
const objValue = objItem[key]
5355
attrResult[key] = recursiveParseItem(objValue)
5456
})
@@ -65,6 +67,7 @@ export class DataTable {
6567
attrItem['M'] ? function() {
6668
let mResult = {}
6769
Object.keys(attrItem['M']).map(key => {
70+
/* eslint-disable detect-object-injection */
6871
mResult[key] = recursiveParseAttrs(attrItem['M'][key])
6972
})
7073
return mResult
@@ -81,6 +84,7 @@ export class DataTable {
8184
return attrValue
8285
}
8386
Object.keys(attrItem).map(key => {
87+
/* eslint-disable detect-object-injection */
8488
objItem[key] = recursiveParseAttrs(attrItem[key])
8589
})
8690
return objItem

0 commit comments

Comments
 (0)