Open mtuchi opened 1 day ago
Wouldn't we be better off just re-exporting _
from common
? So that all adaptors have access to lodash directly?
I think this is an idea that's been around for a long time - we just haven't gotten around to it. Actually until fairly recently I don't think we've had the technology to do it
Description We are using
lodash
in some of our adaptors and most often we use one two function from the entire library.For example in
DHIS2
adaptor we only useindexOf
function from lodash. I think we can use lodash implementation of such function and turn it into a util function. For example indexOf