Final tweak to query logic
This commit is contained in:
@@ -865,7 +865,8 @@
|
||||
(statsd/time! [(str "query.graphql.time" ) {:tags #{(str "query:" (query-name q))}}]
|
||||
(mu/with-context {:query-string q :user id}
|
||||
(lc/with-context {:query q}
|
||||
(log/info "executing query name" (query-name q))
|
||||
(alog/info ::executing-query
|
||||
:query-name (query-name q))
|
||||
(try
|
||||
(let [[result time] (time-it (simplify (execute schema q (dissoc v
|
||||
:clients) {:id id
|
||||
|
||||
@@ -265,6 +265,7 @@
|
||||
(wrap-guess-route)
|
||||
(wrap-hydrate-clients)
|
||||
(wrap-store-client-in-session)
|
||||
(wrap-logging)
|
||||
(wrap-gunzip-jwt)
|
||||
(wrap-authorization auth-backend)
|
||||
(wrap-authentication auth-backend
|
||||
@@ -282,5 +283,5 @@
|
||||
(wrap-params)
|
||||
(mp/wrap-multipart-params)
|
||||
(wrap-edn-params)
|
||||
(wrap-logging)))
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user