FriendsOfSymfony/FOSRestBundle — pull request #256 by stephpy (2012-06-28 14:47:03+00:00)
Title: Supports for array on query param

Params can be array:

`url.json?ids[]=1&ids[]=2`

Actually, if we set a `QueryParam` on this it'll throw a 500 because preg_match uses an array as third argument.

I guess it's better to fallback to the default parameters,

**The only one issue i see:**

If `Array` pass preg_match, it'll return `Array` as the value of key and it'll be confusing.

We should may:

- supports arrays on query param by adding a `type` parameter OR
- just fallback to default without casting the param as string.

First case is dangerous i guess, we should too look at how many entries there are on the array ...