You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: auto-convert non-String ContentParams to toString() expressions
When a DYNAMICTEXT ContentParams binding references a non-String
attribute (Integer, Decimal, DateTime, Boolean), automatically emit
a toString() expression instead of a direct AttributeRef. This
prevents pages from rendering incorrectly at runtime.
Before: ContentParams: [{1} = TotalOrders] → AttributeRef (broken)
After: ContentParams: [{1} = TotalOrders] → toString($currentObject/TotalOrders)
String attributes continue to use direct AttributeRef as before.
Type detection uses the existing findAttributeType() infrastructure
and fails open (if type can't be determined, assumes String).
Closes#146
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments