LearnNewsExamplesServices
Frontmatter
id2730
titlemodel.Component: mergeConfig()
stateClosed
labels
bug
assigneestobiu
createdAtSep 16, 2021, 9:11 PM
updatedAtSep 16, 2021, 9:12 PM
githubUrlhttps://github.com/neomjs/neo/issues/2730
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 16, 2021, 9:12 PM

model.Component: mergeConfig()

Closed v8.1.0 bug
tobiu
tobiu commented on Sep 16, 2021, 9:11 PM

Neo.merge(null, {a:1}) returns null.

Inside model.Component we use: Neo.merge(Neo.clone(this.constructor.config.data, true), config.data)

in case we have inline models, this will destroy the data.

tobiu added the bug label on Sep 16, 2021, 9:11 PM
tobiu assigned to @tobiu on Sep 16, 2021, 9:11 PM
tobiu referenced in commit 9ed7aa9 - "model.Component: mergeConfig() #2730" on Sep 16, 2021, 9:12 PM
tobiu closed this issue on Sep 16, 2021, 9:12 PM