elixir-plug / plug

Compose web applications with functions
https://hex.pm/packages/plug
Other
2.88k stars 587 forks source link

Mismatch spec for `Plug.Conn.Query.decode` #1169

Closed prihandi closed 1 year ago

prihandi commented 1 year ago

I just updated my project dependencies this morning and mix dialyzer is broken. Then, I found it's on Plug.Conn.Query.decode/1 call. After search the latest changes/release, I found that the spec for the function hasn't changed, while the default for 2nd argument(initial) changed from empty map to empty list/keyword on this commit

Will create PR for this

whatyouhide commented 1 year ago

Closing in favor of #1170.