Skip to content

Commit

Permalink
fix ArityException when calling 'throw-illegal-type!'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Scherer committed Apr 20, 2017
1 parent 82b8700 commit 5a31497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alumbra/canonical/selection_set.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
:interface (get-in schema [:interfaces scope-type])
:union (get-in schema [:unions scope-type])
nil (throw-unknown-type! scope-type)
(throw-illegal-type! scope-type kind))]
(throw-illegal-type! scope-type))]
(get-in type [:fields field-name])))

(defn- generate-nested-selection
Expand Down

0 comments on commit 5a31497

Please sign in to comment.