Skip to content

refactor: use generics for plugin factory registration - #129

Merged
m-t-a97 merged 1 commit into
mainfrom
refactor/plugin-factory-generics
Oct 12, 2026
Merged

m-t-a97 merged 1 commit into
mainfrom
refactor/plugin-factory-generics

Conversation

@m-t-a97

@m-t-a97 m-t-a97 commented Oct 12, 2026

Copy link
Copy Markdown
Member

Replace the duplicated ConfigParser/Constructor closures for each plugin with a single generic newPluginFactory helper. The registry is now one line per plugin and the redundant *plugintypes imports are gone.

Also unexport PluginFactory (only used within the package) and drop the redundant inner error wrap in the config parser.

Replace the duplicated ConfigParser/Constructor closures for each plugin
with a single generic newPluginFactory helper. The registry is now one
line per plugin and the redundant *plugintypes imports are gone.

Also unexport PluginFactory (only used within the package) and drop the
redundant inner error wrap in the config parser.
@m-t-a97 m-t-a97 self-assigned this Oct 12, 2026
@m-t-a97
m-t-a97 merged commit b7973a5 into main Oct 12, 2026
6 checks passed
@m-t-a97
m-t-a97 deleted the refactor/plugin-factory-generics branch October 12, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant