Skip to content

Commit

Permalink
Merge pull request #5 from MrEbbinghaus/master
Browse files Browse the repository at this point in the history
Fix wrong data structures in index-explorer resolver
  • Loading branch information
awkay authored Oct 23, 2019
2 parents ffbd38c + 293bc33 commit d0e2f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/app/server_components/pathom.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
::pc/output [:com.wsscode.pathom.viz.index-explorer/index]}
{:com.wsscode.pathom.viz.index-explorer/index
(-> (get env ::pc/indexes)
(update ::pc/index-resolvers #(into [] (map (fn [[k v]] [k (dissoc v ::pc/resolve)])) %))
(update ::pc/index-mutations #(into [] (map (fn [[k v]] [k (dissoc v ::pc/mutate)])) %)))})
(update ::pc/index-resolvers #(into {} (map (fn [[k v]] [k (dissoc v ::pc/resolve)])) %))
(update ::pc/index-mutations #(into {} (map (fn [[k v]] [k (dissoc v ::pc/mutate)])) %)))})

(def all-resolvers [acct/resolvers session/resolvers index-explorer])

Expand Down

0 comments on commit d0e2f5e

Please sign in to comment.