Frontmatter
| id | 8275 |
| title | [Neural Link] Export controller in component.Base.toJSON |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 1, 2026, 7:37 PM |
| updatedAt | Jan 3, 2026, 8:35 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8275 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 8200 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 3, 2026, 8:35 PM |
Export the
controllerconfiguration intoJSON.Implementation:
this.controllerexists:this.controller.toJSON().Note: Any raw configuration object passed to the
controllerconfig will have been consumed and converted into an instance by the framework (viabeforeSetController). So we only need to handle the instance or null case.Goal: Allow Neural Link to identify and inspect the controller managing a component.