Frontmatter
| id | 2730 |
| title | model.Component: mergeConfig() |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Sep 16, 2021, 9:11 PM |
| updatedAt | Sep 16, 2021, 9:12 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2730 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 16, 2021, 9:12 PM |
Neo.merge(null, {a:1})returns null.Inside
model.Componentwe use:Neo.merge(Neo.clone(this.constructor.config.data, true), config.data)in case we have inline models, this will destroy the data.