FriendsOfSymfony / FOSJsRoutingBundle

A pretty nice way to expose your Symfony routing to client applications.
1.48k stars 261 forks source link

`fos:js-routing:dump` with `--format=json` incorrectly serialises `defaults` and `requirements` #356

Open zerkms opened 5 years ago

zerkms commented 5 years ago

Those are dictionaries from string to string, so they should be serialised as {} when empty while they are serialised as [].