parse-server
parse-server copied to clipboard
refactor: Reorganize transformInteriorValue
trafficstars
Pull Request
- Report security issues confidentially.
- Any contribution is under this license.
- Link this pull request to an issue.
Issue
This code was checking a constantly true condition value !== CannotTransform, that's why the code was not properly handling nested structure properly, The code introduced by #8446 fixed this logic, by introducing another duplicated piece of code.
Closes: #9567
Approach
This commit simplifies the logic here to reflect the original purpose.