Lattice Grid Buy a licence

Data Router ยท console.warn

a spread join needs a `value` (the attribute...

Printed by Data Router, prefixed [lattice], since 1.84.0.

Warnings reference › data-router:spread-no-value

Identifier
data-router:spread-no-value
Raised by
Data Router
Since
1.84.0

What happened

A SPREAD join was declared without a value reader - the field or fn(row) that reads each attribute row's value. Without a value there is nothing to write under the spread field, so the join is dropped and the parent rows pass through unenriched rather than the router throwing.

The fix

Set spread.value to the child field holding the attribute value, or a fn(row) that reads it.

The smallest fix

join: { from: 'companyAttr', foreignKey: 'companyId', spread: { name: 'attribute', value: 'value', prefix: 'cf_' } }

Reference

Covered in full at the API reference.