OK, renameProperties is dangerous and it can break the code. With reservedNames it is possible to prevent some properties from being touched. So what about we provide a list and only the prop name in the list should be renamed?
In short, besides a blacklist (reservedNames), I'd like to have a whitelist as well.
OK,
renamePropertiesis dangerous and it can break the code. WithreservedNamesit is possible to prevent some properties from being touched. So what about we provide a list and only the prop name in the list should be renamed?In short, besides a blacklist (
reservedNames), I'd like to have a whitelist as well.