(compute-foreign-input {:com.wsscode.pathom3.connect.planner/keys [node]
:as env})(compute-foreign-request {:com.wsscode.pathom3.connect.planner/keys [node]
:as env})(foreign-register foreign)Load foreign indexes and incorporate it as an external data source. This will make every resolver from the remote to point to a single one, enabling data delegation to the foreign node.
The return of this function is the indexes, you can use pci/register to add them into your environment.
Load foreign indexes and incorporate it as an external data source. This will make every resolver from the remote to point to a single one, enabling data delegation to the foreign node. The return of this function is the indexes, you can use pci/register to add them into your environment.
(internalize-foreign-errors {:com.wsscode.pathom3.path/keys [path]
:com.wsscode.pathom3.connect.foreign/keys
[join-node]}
errors)(internalize-foreign-indexes
{:com.wsscode.pathom3.connect.indexes/keys [index-source-id] :as indexes}
foreign)Introduce a new dynamic resolver and make all the resolvers in the index point to it.
Introduce a new dynamic resolver and make all the resolvers in the index point to it.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |