Frontmatter
| id | 8206 |
| title | Refactor Client Services to use Parameter Destructuring |
| state | Closed |
| labels | airefactoring |
| assignees | tobiu |
| createdAt | Dec 30, 2025, 12:27 AM |
| updatedAt | Dec 30, 2025, 12:36 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8206 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 8169 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 30, 2025, 12:36 AM |
Context: To improve code readability and maintainability, we want to standardize the method signatures in our client-side AI services.
Goal: Refactor all methods in
src/ai/client/*.mjsthat currently accept a singleparamsobject and manually destructure it inside the function body. They should instead use parameter destructuring directly in the function signature.Scope:
src/ai/client/ComponentService.mjssrc/ai/client/DataService.mjssrc/ai/client/RuntimeService.mjsmyMethod(params) { let {a, b} = params; ... }.myMethod({a, b}) { ... }.Acceptance Criteria: