LearnNewsExamplesServices
Frontmatter
id7906
titleRefactor ApiSource hardcoded path to non-reactive config
stateClosed
labels
airefactoring
assigneestobiu
createdAtNov 25, 2025, 6:10 PM
updatedAtNov 25, 2025, 6:12 PM
githubUrlhttps://github.com/neomjs/neo/issues/7906
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 25, 2025, 6:12 PM

Refactor ApiSource hardcoded path to non-reactive config

Closed v11.11.0 airefactoring
tobiu
tobiu commented on Nov 25, 2025, 6:10 PM

The ApiSource class currently uses a hardcoded path docs/output/all.json in the extract method. This should be moved to a non-reactive static config apiPath to allow for customization via Neo.overwrites or subclassing.

Changes:

  • Add apiPath: 'docs/output/all.json' to ApiSource.config.
  • Update extract() method to use this.apiPath.
tobiu added the ai label on Nov 25, 2025, 6:10 PM
tobiu added the refactoring label on Nov 25, 2025, 6:10 PM
tobiu assigned to @tobiu on Nov 25, 2025, 6:10 PM
tobiu referenced in commit 384360e - "Refactor ApiSource hardcoded path to non-reactive config #7906" on Nov 25, 2025, 6:12 PM
tobiu closed this issue on Nov 25, 2025, 6:12 PM