Data Router ยท console.warn
join needs a `localKey` (a field name or fn); ignoring the join.
Printed by Data Router, prefixed [lattice], since 1.39.0.
Warnings reference › data-router:join-no-localkey
- Identifier
data-router:join-no-localkey- Raised by
- Data Router
- Since
- 1.39.0
What happened
The join has a from but nothing to match on from the left side, so no row can be paired with a lookup row. The join is dropped and rows pass through unenriched.
The fix
Set localKey (or its alias on) to the field name on the incoming row, or a function that reads it.
The smallest fix
join: { from: 'customers', localKey: 'customerId' }
Reference
Covered in full at the API reference.