LearnNewsExamplesServices
Frontmatter
id1582
titlecore.Base: isConstructed config
stateClosed
labels
enhancement
assigneestobiu
createdAtMar 25, 2021, 4:48 PM
updatedAtMar 25, 2021, 5:57 PM
githubUrlhttps://github.com/neomjs/neo/issues/1582
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 25, 2021, 5:57 PM

core.Base: isConstructed config

Closed v8.1.0 enhancement
tobiu
tobiu commented on Mar 25, 2021, 4:48 PM

defaults to false.

we need a hook inside Neo.create() to change it to true.

afterSetIsConstructed needs to fire an event.

tobiu added the enhancement label on Mar 25, 2021, 4:48 PM
tobiu assigned to @tobiu on Mar 25, 2021, 4:48 PM
tobiu
tobiu Mar 25, 2021, 5:54 PM

ok, this is impossible, since we can not use configs with a trailing underscore inside core.Base.

instead, we can use isConstructed and trigger a new onAfterConstructed method inside Neo.create().

tobiu changed title from core.Base: isContructed_ config to core.Base: isContructed config on Mar 25, 2021, 5:54 PM
tobiu referenced in commit a0edf94 - "core.Base: isConstructed config #1582" on Mar 25, 2021, 5:56 PM
tobiu changed title from core.Base: isContructed config to core.Base: isConstructed config on Mar 25, 2021, 5:56 PM
tobiu closed this issue on Mar 25, 2021, 5:57 PM