elixir-plug / plug

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

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

Closed prihandi closed 11 months ago

prihandi commented 11 months 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 11 months ago

Closing in favor of #1170.