-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto concat array-like config types #196
Comments
The node extend lib we originally used (+6 months ago) would concat arrays With an overwrite model of extend, you can simply declare what the array With a concat/merge model of extend, you still have all the same options of I'm not convinced there's enough reason to move back to the concat/merge On Fri, Jan 24, 2014 at 9:27 AM, Justin Searls notifications@github.comwrote:
|
Alright, two responses:
|
One headache that keeps coming up is high-traffic array-type configuration properties like loadNpmTasks, appendTasks, prependTasks, etc.
If you're writing a plugin, so that you don't stomp on other plugins, you typically have to be sure to use
lineman.config.application.loadNpmTasks.concat
to edit theloadNpmTasks
array, however I just realized through this issue that this also effects the user config for any user who's consuming a plugin.I didn't run into this myself because I've successfully plugin-ified everything that I use personally.
SO. That sucks.
Because any change will impact multiple deep merge operations I'm going to ask for @jasonkarns thoughts.
The text was updated successfully, but these errors were encountered: