Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

array gets concat when specialized into configurations #963

Open
dmorilha opened this issue Jan 31, 2013 · 3 comments
Open

array gets concat when specialized into configurations #963

dmorilha opened this issue Jan 31, 2013 · 3 comments
Labels

Comments

@dmorilha
Copy link
Contributor

We have defaults.json, master section, an array containing default elements to our mojit.

Then we have applications.json, specialized section, mojit config, an array containing more specialized elements to the same mojit (of course in a more specialized way).

We are getting a concatenated array containing first the elements of the generic array before the elements of the most specialized array.

We think arrays should be entirely replaced. What is mojito's team perspective regarding this question?

@caridy
Copy link
Contributor

caridy commented Jan 31, 2013

FYI: blend and blend3 are both doing array concat from what I can see in the code. /cc @drewfish

@dmorilha
Copy link
Contributor Author

code example https://gist.github.com/4687222

@dmorilha
Copy link
Contributor Author

by the way the problem happened we think that could be a regression on the way mojito handled arrays.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants