Pathom 2.2.0. How do I query for a vector of vectors for a global resolver?
(pc/defresolver connections [{::datomic/keys [conn] :as env} _]
{::pc/output [{::connection/connections [::connection/name ::connection/id]}]}
(let [{:keys [context rel]} (-> env :ast :params)]
{::connection/connections
(cc/path (d/db conn) context rel)}))
The output is a vector of vectors {::connection/connections [[…]]}
Is it possible to do such a thing?
@stuartrexking no support for vectors of vectors, you can instead make a vector of maps, on where each map has an attribute that is another vector