Tracks linkml/linkml#3662 — *OrSubtype enums omit the concrete base class as a variant.
Effect on this crate
./regen.sh --check reports drift because the committed linkml_meta predates this PR. Once
it lands, regenerating adds the base class as a variant of its own subtype enum:
ExtensionOrSubtype::Extension
EnumExpressionOrSubtype::EnumExpression
together with the matching From, PyO3 FromPyObject/IntoPyObject, from_pair_*,
extract_key, impl_stub_type! arms and the poly.rs trait dispatch arms.
So today a plain Extension (as opposed to an Annotation) has no variant to deserialize
into, and the same for a bare EnumExpression.
Done when
The PR is merged and linkml_meta has been regenerated here. The regeneration itself is
gated by #109.
Tracks linkml/linkml#3662 — *OrSubtype enums omit the concrete base class as a variant.
Effect on this crate
./regen.sh --checkreports drift because the committedlinkml_metapredates this PR. Onceit lands, regenerating adds the base class as a variant of its own subtype enum:
ExtensionOrSubtype::ExtensionEnumExpressionOrSubtype::EnumExpressiontogether with the matching
From, PyO3FromPyObject/IntoPyObject,from_pair_*,extract_key,impl_stub_type!arms and thepoly.rstrait dispatch arms.So today a plain
Extension(as opposed to anAnnotation) has no variant to deserializeinto, and the same for a bare
EnumExpression.Done when
The PR is merged and
linkml_metahas been regenerated here. The regeneration itself isgated by #109.