-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Allow "friendsofsymfony/rest-bundle:^3.0" #1175
Conversation
b47320d
to
1c59034
Compare
@@ -13,7 +13,8 @@ | |||
|
|||
namespace Sonata\PageBundle\Controller\Api; | |||
|
|||
use FOS\RestBundle\Controller\Annotations\View; | |||
use FOS\RestBundle\Controller\Annotations as Rest; | |||
use FOS\RestBundle\View\View as FOSRestView; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need this alias?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is much easier to read this be people with less knowlage about REST
and nelmio/api-doc
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not create aliases when they are not required.
1c59034
to
f1b3105
Compare
f1b3105
to
12a05fb
Compare
9fcbf57
to
0795b30
Compare
@phansys @jordisala1991 Can you check it and ping contributors? It is RTM. |
0795b30
to
4f6ec8a
Compare
Thanks @wbloszyk |
Subject
Allow "friendsofsymfony/rest-bundle:^3.0".
I am targeting this branch, because these changes respect BC.
Changelog