Class: Lutaml::KeyValue::Transform::KvRulePlan
- Inherits:
-
Struct
- Object
- Struct
- Lutaml::KeyValue::Transform::KvRulePlan
- Defined in:
- lib/lutaml/key_value/transform.rb
Overview
Compiled rule plans (TODO.perf/07): for plain scalar rules the per-value interpretation (extraction dispatch, type resolution, per-element probes, validation inside casts) collapses to a precomputed wire name, target class, and identity-guard cast. Guard + cached target — an inline cache per rule. Complex rules (custom methods, transforms, value maps, delegates, hash mappings, unions, polymorphism) return nil and keep the interpretive path.