refactor(plugin): delete the unused Registry type
Registry carried no plugin identity, discovery, compatibility or lifecycle, so it was never the seed for the approved internal/domain/plugin package. Host, Manifest and Module are, and they stay. Regenerating pluginextract strips the interface-wrapper nil guards, so those are restored by hand; the only intended change to the generated table is dropping the Registry symbol.
This commit is contained in:
4 files changed
+1
-26
No files matched your search
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/samcharles93/archie-core/internal/plugin/pluginextract"
|
||||
)
|
||||
|
||||
// ── Plugin interface and registry ────────────────────────────────────
|
||||
// ── Plugin interface ─────────────────────────────────────────────────
|
||||
|
||||
func TestPluginInterfaceExists(t *testing.T) {
|
||||
var p plugin.Plugin
|
||||
@@ -22,10 +22,6 @@ func TestPluginInterfaceExists(t *testing.T) {
|
||||
var _ nameVersioner = p
|
||||
}
|
||||
|
||||
func TestRegistryExists(t *testing.T) {
|
||||
_ = &plugin.Registry{}
|
||||
}
|
||||
|
||||
// ── LoadDir behavioral tests ─────────────────────────────────────────
|
||||
|
||||
var symbols = pluginextract.Symbols
|
||||
|
||||
Reference in new issue
Block a user