It's serialised and deserialised correctly, but isn't checked during sorting logic...
Also, merging metadata just replaces the existing value, so it's not possible to tell which metadata in a merged PluginMetadata object came from a disabled object and which did not. This is a complicated problem to solve, so maybe just drop the ability to disable metadata entries since it apparently wasn't missed.
It's serialised and deserialised correctly, but isn't checked during sorting logic...
Also, merging metadata just replaces the existing value, so it's not possible to tell which metadata in a merged
PluginMetadata
object came from a disabled object and which did not. This is a complicated problem to solve, so maybe just drop the ability to disable metadata entries since it apparently wasn't missed.