jgraichen / restify

Restify is a experimental, parallel and pipelined Hypermedia API client
GNU Lesser General Public License v3.0
8 stars 2 forks source link

[2.0] Disallow non-primitive values for query parameters #44

Open franzliedke opened 3 years ago

franzliedke commented 3 years ago

Right now, we rely on Rails' to_param to pre-serialize values for use in query strings. That means, things like arrays ([1, 2]) are turned into strings separated by slashes ("1/2"). That is very arbitrary and should not be Restify's concern.

Let's disallow these cases (needs a clear definition of what cases are allowed).

This would be a subtle, but impact-ful BC break, so I would propose to target this for 2.0.