Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
1e16miin committed Sep 6, 2024
1 parent 10e2d91 commit c77769a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/walmartlabs/lacinia/executor.clj
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@
(let [errors (seq @*errors)
warnings (seq @*warnings)
extensions @*extensions]
(prn errors)
(resolve/deliver! result-promise
(cond-> {:data (schema/collapse-nulls-in-map selected-data)}
(seq extensions) (assoc :extensions extensions)
Expand All @@ -420,7 +421,7 @@
(::tracing/parsing parsed-query)
(::tracing/validation context)
@*resolver-tracing)
errors (assoc :errors (distinct errors))
errors (assoc :errors (distinct errors))
(and (nil? errors) (::query-analyzer/enable? context)) (assoc-in [:extensions :analysis] (query-analyzer/complexity-analysis parsed-query))
warnings (assoc-in [:extensions :warnings] (distinct warnings))))))))
(catch Throwable t
Expand Down

0 comments on commit c77769a

Please sign in to comment.