FriendsOfSymfony / FOSJsRoutingBundle

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

Expose domains not correct working #353

Closed zdebol closed 5 years ago

zdebol commented 5 years ago

Invalid argument list - not pass to constructor RoutesResponse $locale, so passed $domain is assign to $locale not to $domains variable

https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/blob/552c00c3e6302230f3cd444adfc4c58b4faea874/Command/DumpCommand.php#L182

tobias-93 commented 5 years ago

Fixed in #334

ruano-a commented 3 years ago

@tobias-93 it doesn't seem to be. I'm encountering issues while using the domains, because in RoutesResponse, $domain is set to $locale, and then $domains is empty. I'm using the version 2.6.