Data Router ยท console.warn
join needs a `from` (the lookup source id); ignoring the join.
Printed by Data Router, prefixed [lattice], since 1.39.0.
Warnings reference › data-router:join-no-from
- Identifier
data-router:join-no-from- Raised by
- Data Router
- Since
- 1.39.0
What happened
A join spec named no lookup source, so the router cannot know what to enrich from. The join is dropped and the route degrades to plain fan-in: rows arrive unenriched rather than the router throwing.
The fix
Set from to the id of the source holding the lookup rows.
The smallest fix
router.attach(grid, { join: { from: 'customers', localKey: 'customerId', fields: ['name'] } });
Reference
Covered in full at the API reference.