You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize this is bad practice.
However, that this library mangles them and, in particular, inconsistently is I think problematic.
Proposed solution
map-obj already has the ability to handle Arrays.
Simply remove the extra function at module.exports and export camelCaseConvert directly.
Side note
Doesn't map-obj already have a caching mechanism?
It seems a little redundant to me to have a caching layer in this package.
Maybe I'm missing something?
The text was updated successfully, but these errors were encountered:
At top level, array members are turned into array elements.
At lower levels, array members are lost.
I realize this is bad practice.
However, that this library mangles them and, in particular, inconsistently is I think problematic.
Proposed solution
map-obj
already has the ability to handle Arrays.Simply remove the extra function at
module.exports
and exportcamelCaseConvert
directly.Side note
Doesn't
map-obj
already have a caching mechanism?It seems a little redundant to me to have a caching layer in this package.
Maybe I'm missing something?
The text was updated successfully, but these errors were encountered: