Skip to content

Commit

Permalink
Sort missing resolvers to keep order consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkerlucio committed Dec 5, 2024
1 parent bbd9488 commit 10c1e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/com/wsscode/pathom3/connect/runner.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@
(defn input-missing-error-message [nodes attr]
(if (> (count nodes) 1)
(str "- Attribute " attr " was expected to be returned from resolvers "
(str/join ", " (distinct (map ::pco/op-name nodes)))
(str/join ", " (sort (distinct (map ::pco/op-name nodes))))
" but all of them failed to provide it.")
(str "- Attribute " attr " was expected to be returned from resolver " (::pco/op-name (first nodes)) " but it failed to provide it.")))

Expand Down

0 comments on commit 10c1e0f

Please sign in to comment.