(call-foreign-mutation foreign
{:com.wsscode.pathom3.connect.planner/keys
[foreign-ast]})(compute-foreign-mutation {:com.wsscode.pathom3.connect.planner/keys [node]})(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-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 |