Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the .{_format} optional when generating routes #333

Closed
lsmith77 opened this issue Dec 4, 2012 · 3 comments
Closed

make the .{_format} optional when generating routes #333

lsmith77 opened this issue Dec 4, 2012 · 3 comments

Comments

@lsmith77
Copy link
Member

lsmith77 commented Dec 4, 2012

see https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Routing/Loader/Reader/RestActionReader.php#L195

ideally this would be configurable via some annotation and not a global flag to prevent different Bundles from requiring a different setting. imho since using format extensions isnt very RESTy, I would accept the BC break to set adding this to the pattern to off by default.

@eXtreme
Copy link
Contributor

eXtreme commented Mar 14, 2013

Any progress on that? It would be cool to get rid of _format automatically.

@lsmith77
Copy link
Member Author

not aware on anyone working on this atm

@lsmith77
Copy link
Member Author

lsmith77 commented Apr 7, 2013

thanks to #422 there is now a global flag for this .. not sure if we will bother with anything beyond that

@lsmith77 lsmith77 closed this as completed Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants