Fully disable object flattening

This commit is contained in:
Misode
2021-04-16 17:30:25 +02:00
parent 38e7151f2b
commit 1f775c4dd2

View File

@@ -25,6 +25,7 @@ export const customValidation: Hook<[any, Errors], void> = walk<[Errors]>({
}
},
/*
object({ node, getActiveFields }, path, value) {
let activeFields = getActiveFields(path)
const filterKey = path.modelArr.length === 0 ? null : node.hook(getFilterKey, path, path)
@@ -37,4 +38,5 @@ export const customValidation: Hook<[any, Errors], void> = walk<[Errors]>({
}
}
}
*/
})