What would you like to be added:
Tighten the attribute data-layer API so producers are forced to write through Slot[T] (typed-attribute-slots, #2352) instead of the still-public AttributeMap.Put(dk, val any).
Why is this needed:
Slot[T] (#2352) pins a value's type at the write site so a producer/consumer mismatch fails at the assignment boundary instead of at some downstream reader. But Put on AttributeMap is still public, so today the type check is advisory only: a producer can bypass the slot entirely and write straight to the map. Tightening the API closes that loophole and makes Slot[T] the only way to publish an attribute.
What would you like to be added:
Tighten the attribute data-layer API so producers are forced to write through
Slot[T](typed-attribute-slots, #2352) instead of the still-publicAttributeMap.Put(dk, val any).Why is this needed:
Slot[T](#2352) pins a value's type at the write site so a producer/consumer mismatch fails at the assignment boundary instead of at some downstream reader. ButPutonAttributeMapis still public, so today the type check is advisory only: a producer can bypass the slot entirely and write straight to the map. Tightening the API closes that loophole and makesSlot[T]the only way to publish an attribute.