LearnNewsExamplesServices
Frontmatter
id1750
titlemodel.Component: getParentDataScope() => getDataScope()
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 10, 2021, 5:45 PM
updatedAtApr 10, 2021, 10:22 PM
githubUrlhttps://github.com/neomjs/neo/issues/1750
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 10, 2021, 10:22 PM

model.Component: getParentDataScope() => getDataScope()

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 10, 2021, 5:45 PM

In retrospective, the method name sounds a bit confusing.

What the method does is looking for a child node inside this.data if needed.

e.g. in case you pass data.foo.bar.baz

the scope for changing the 'baz' key is the bar object.

I will update the comment of this method as well.

tobiu added the enhancement label on Apr 10, 2021, 5:45 PM
tobiu assigned to @tobiu on Apr 10, 2021, 5:45 PM
tobiu referenced in commit cda55b7 - "model.Component: getParentDataScope() => getDataScope() #1750" on Apr 10, 2021, 10:22 PM
tobiu closed this issue on Apr 10, 2021, 10:22 PM