Pass outer object in config functions
Closed this issue · 0 comments
octagonal commented
Right now config functions only have access to the value of the key they refer to
key: (keyVal) => ...
A useful second param would be the entire object
key: (keyVal, object) => ...
That way we could transform objects keys to a preferred, other key if needed