This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
Wash returns wrong type ID for external plugin that uses core plugin entries #727
Labels
bug
Something isn't working
Wash lets external plugin authors take advantage of core plugin entries. Currently, only the
volume::fs
entry is used. These core entries have special type IDs meant to minimize conflicts. Forvolume::fs
, this is__volume::fs__
. However, external plugin#List returns the core plugin entry version ofvolume::fs
(i.e. volume.FS); this entry's type ID is the struct class name. Hence, there's a type ID mismatch. This affects commands likefind
becausefind
cannot recurse into those entries (since its recursion stops at a nil schema).Fix is to probably wrap core plugin entries into something that implements the external plugin entry interface.
The text was updated successfully, but these errors were encountered: