Data Router ยท console.warn
join has no `fields`/`select`; rows pass through unenriched.
Printed by Data Router, prefixed [lattice], since 1.39.0.
Warnings reference › data-router:join-no-fields
- Identifier
data-router:join-no-fields- Raised by
- Data Router
- Since
- 1.39.0
What happened
The join resolves - it has a source and both keys - but names nothing to copy across, so the matched lookup row contributes no columns. The rows arrive exactly as they would with no join at all, at the cost of the lookup.
The fix
Name the fields to copy: an array of names, an object mapping source name to destination name, or a function returning the extra properties.
The smallest fix
join: { from: 'customers', localKey: 'customerId', fields: { name: 'customerName' } }
Reference
Covered in full at the API reference.