Data Router ยท console.warn
link()/relate() got an endpoint the router c...
Printed by Data Router, prefixed [lattice], since 1.128.0.
Warnings reference › data-router:link-endpoint-unresolved
- Identifier
data-router:link-endpoint-unresolved- Raised by
- Data Router
- Since
- 1.128.0
What happened
A link or relate edge named a source or target the router cannot read a selection from: not an attached grid or Kanban board in this window, and not a route ref (partition value or label) whose grid lives in another window and feeds its selection over broadcast. The router treats it as a remote endpoint and imposes no constraint, so without this warning the link silently does nothing.
The fix
Attach the grid or board to the router first (router.attach(viewer, value)), or pass the partition value or label the route was attached under so the router can resolve it - including, over broadcast, a ref whose grid is in another window.
The smallest fix
router.attach(engineers, 'engineer').attach(board, 'job'); router.link(engineers, board, { from: 'id', to: 'engineerId' });
Reference
Covered in full at the API reference.