Skip to content

RoutePipelineSetter interface uses concrete *module.Pipeline type (engine.go) #58

Description

@intel352

Problem

engine.go's RoutePipelineSetter interface method SetRoutePipeline(routePath string, pipeline *module.Pipeline) takes a concrete type, limiting extensibility. Any implementation must import the module package.

Fix Direction

Define a PipelineExecutor interface capturing the methods actually called through this parameter. Switch SetRoutePipeline to accept the interface instead. Update all implementors and callers — this will require cascading changes in engine.go, handlers, and tests.

Context

See docs/DEFERRED_ISSUES.md — Architecture section.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureArchitectural design and coupling issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions