Closed zetlen closed 7 years ago
Change from using _.omit to _.unset, so that a user can supply a set of path-lookup strings to be omitted, e.g.
_.omit
_.unset
renderOptionsKeysToFilter: ['context.pageInfo.debug', 'sys.pageInfo.debug']
Since _.unset mutates the object, this change also clones it before serialization.
renderOptionsKeysToFilter
👍
@zetlen happy to merge this once you rebase. Also can you update the readme for this change? Thanks
@samsel Done!
Change from using
_.omit
to_.unset
, so that a user can supply a set of path-lookup strings to be omitted, e.g.Since
_.unset
mutates the object, this change also clones it before serialization.renderOptionsKeysToFilter
so it filters after server-side use, but before serialization.