There is a #pathom function for this?
(defn get-from-context
[{:keys [parser] :as env} context ident]
(let [[eid & others] context]
(-> (parser env `[{(~eid {:pathom/context ~(into {} others)})
~[ident]}])
(get-in [eid ident]))))