Skip to content

Commit

Permalink
Fix Absinthe.run/3 typespec (#707)
Browse files Browse the repository at this point in the history
Dialyzer would fail if the data response was a nested map, i.e. `%{"node" => %{"zone" => _zone}}`
  • Loading branch information
Blaž Hrastnik authored and benwilson512 committed Apr 16, 2019
1 parent 37c43d3 commit ad2dab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/absinthe.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ defmodule Absinthe do
| boolean
| binary
| atom
| result_selection_t
| [result_selection_t]
}

Expand Down

0 comments on commit ad2dab7

Please sign in to comment.