LearnNewsExamplesServices
Frontmatter
id9553
titleFeature: Implement Pipeline Interceptor System (Middleware)
stateOpen
labels
enhancementhelp wantedno auto closeaiarchitecturecore
assignees[]
createdAtMar 25, 2026, 9:10 PM
updatedAtMar 26, 2026, 4:19 PM
githubUrlhttps://github.com/neomjs/neo/issues/9553
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]

Feature: Implement Pipeline Interceptor System (Middleware)

Openenhancementhelp wantedno auto closeaiarchitecturecore
tobiu
tobiu commented on Mar 25, 2026, 9:10 PM

Goal

Implement a middleware/interceptor system for Neo.data.Pipeline to allow cross-cutting concerns to be handled declaratively.

Description

As the Data Pipeline architecture matures, we need a way to inject logic at key stages of the data lifecycle (pre-request, post-response, post-parse).

Requirements:

  1. Support request interceptors (e.g., adding Auth headers, logging params).
  2. Support response interceptors (e.g., global error handling, refreshing tokens).
  3. Interceptors must support async execution.
  4. Allow global interceptors to be registered at the Neo.worker.Data level.
  5. Pipelines should allow instance-specific interceptors that merge with globals.
tobiu assigned to @tobiu on Mar 25, 2026, 9:10 PM
tobiu added the enhancement label on Mar 25, 2026, 9:10 PM
tobiu added the ai label on Mar 25, 2026, 9:10 PM
tobiu added the architecture label on Mar 25, 2026, 9:10 PM
tobiu added the core label on Mar 25, 2026, 9:10 PM
tobiu added the help wanted label on Mar 25, 2026, 9:51 PM
tobiu added the no auto close label on Mar 25, 2026, 9:51 PM
tobiu unassigned from @tobiu on Mar 26, 2026, 4:19 PM