configEntries not containing overridden values #1027
-
I would like to be able to get overridden config values in configEntires. Use case: I have I understand this behavior works by default if I pulled Is configEntries not meant to include overridden values? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
Yes it's on the radar.
It only includes values that are loaded. Overriden values aren't loaded (to save loading time). That's why a new export default {
meta: {
viewport: {
cumulative: true
/* Alternative naming:
aggregate: true
override: false
overridable: false
*/
}
}
}
I'm not sure I understand your use case, do you mind elaborating? |
Beta Was this translation helpful? Give feedback.
Done and pre-released in
0.4.140-commit-710acc9
. I hope the delay was ok for you (as always: let me know if something is a blocker).If you can wait a little bit more, I'll be polishing a couple of internals and then release a new minor. You can use the pre-release in the meantime.
Cumulative configs have a couple of minor limitations, let me know if one of these are problematic for you. (I expect the limitations to not be a problem for the vast majority of cumulative configs.)