The ConstantObjectValue has a very naive support to deal with DynamicMessage wherein the object is not checked if there is a need for promotions. However, this fails if the object is an array of DynamicMessage.
We need a to have a way to support arbitrary nesting of DynamicMessage but not generally support promotions in them. For instance, we can check if the shape of DynamicMessage is identical and fail if not without even trying to calculate promotions.
The
ConstantObjectValue
has a very naive support to deal withDynamicMessage
wherein the object is not checked if there is a need for promotions. However, this fails if the object is an array ofDynamicMessage
.We need a to have a way to support arbitrary nesting of
DynamicMessage
but not generally support promotions in them. For instance, we can check if the shape ofDynamicMessage
is identical and fail if not without even trying to calculate promotions.