Skip to content

Conversation

@akang31
Copy link
Contributor

@akang31 akang31 commented Jul 30, 2025

Dependent views (e.g. PrefixedViewConfig and the PrivateViewConfig) look at the object being passed when there is a new config added or updated. However, currently the DefaultCompositeConfig passes the config being added/removed instead of itself. That means the PrefixedViewConfig/PrivateViewConfig will be updated to JUST the values of the added/removed config (which is either wrong, or very wrong).

This PR updates DefaultCompositeConfig to correctly pass itself.

Interestingly enough, the DefaultLayeredConfig actually just calls configUpdated (with itself) when there are equivalent such adds/removes.

@akang31 akang31 merged commit 65540f7 into 2.x Jul 31, 2025
11 checks passed
@akang31 akang31 deleted the 2.x-fix-dcc-config-add-remove branch July 31, 2025 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants