AUR0177
Error Message
Description
Example Trigger
<!-- ❌ Nested object patterns are not supported -->
<div repeat.for="{ customer: { name } } of orders">
${name}
</div>Solution
<!-- ✅ Shallow property and alias -->
<div repeat.for="{ id: orderId, customer } of orders">
${orderId}: ${customer.name}
</div>
<!-- ✅ A reserved source property can use a safe local alias -->
<div repeat.for="{ constructor: type } of orders">
${type}
</div>
<!-- ✅ Keep the complete object -->
<div repeat.for="order of orders">
${order.id}: ${order.customer.name}
</div>Last updated
Was this helpful?