Skip to content

Commit

Permalink
allow atom keys too
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Jun 13, 2024
1 parent 1f6fdbf commit 85d82c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/adapters/sql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ defmodule Ecto.Adapters.SQL do
optional(atom) => any
}

@type query_params :: [term] | %{String.t() => term}
@type query_params :: [term] | %{(atom | String.t()) => term}

@doc false
defmacro __using__(opts) do
Expand Down

0 comments on commit 85d82c9

Please sign in to comment.