Skip to content

Commit

Permalink
update dev
Browse files Browse the repository at this point in the history
  • Loading branch information
myguidingstar committed Nov 23, 2020
1 parent 1e5b501 commit a546f92
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions dev/src/dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,21 @@
([query user-id]
(let [f (-> system :conduit.handler.walkable/resolver)]
(:body (f {:identity {:user/id user-id} :transit-params query})))))

#_
(w `[{[:article/by-id 3]
[:article/id (:article/liked-by-me {:filters false})]}]
1)
(w `[{(:app/users {:filters [:in :user/id 1 2 3 13 17 20 21]})
[:user/id :user/email :user/followed-by-me]}]
1)

#_
(w `[{(:app/users {:filters [:in :user/id 2 3 13 17 20 21]})
[:user/id :user/followed-by-me]}]
1)
(w `[{[:user/id 1]
[:user/id :user/email :user/followed-by-me]}]
2)

#_
(w `[{:app.auth/whoami
[:user/id :user/email :user/followed-by-me]}]
1)
#_
(w `[{[:app.articles/list
~(merge #:app.articles.list{:list-id :global
Expand Down

0 comments on commit a546f92

Please sign in to comment.