-
Notifications
You must be signed in to change notification settings - Fork 80
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
remove annotation for 3.X release #610
Conversation
3abf10a
to
ff356e2
Compare
yes. the assumption is that you annotate this on a route that changes content (so usually it will be a POST request). if the request that triggers the invalidation would itself be cached, symfony would not be invoked on a cache hit and the invalidation would not be triggered. |
ff356e2
to
4055292
Compare
@@ -35,20 +35,19 @@ | |||
"guzzlehttp/guzzle": "^7.2", | |||
"mockery/mockery": "^1.3.2", | |||
"monolog/monolog": "*", | |||
"sensio/framework-extra-bundle": "^4.0 || ^5.5.1 || ^6.0", | |||
"doctrine/annotations": "^1.11", |
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 don't need this anymore
thanks. looks like the CI is now reporting properly again. ignore the installation problem with jean-beru for now. the failing tests in the other builds indicate that something is not yet working properly with the attributes. or the fixtures only have annotations not attributes? |
@toxicity1985 do you have time to check why the build fails? |
Hello, I will check today or tommorow. I was busy last week :-p |
thanks - did not want to rush you, just to check if it went under or if you are still aware of it. |
4055292
to
54cd1ca
Compare
I fixed some test but the last are related to the cache maybe something related to configuration but i don't find where. |
54cd1ca
to
9544917
Compare
@dbu i fixed the last test. |
9544917
to
4108dc1
Compare
Hi @dbu & @toxicity1985. Is there anything than could be supported to test or to fix any of the remaining tests? Or is this ready to be merged? |
Hello @usu, |
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.
sorry for the silence. i hope i can release 3.x soon.
there is an open comment still, and some issues with the ci.
(codestyle and readthedocs is out of scope, we can ignore those. but the phpunit builds should all be green)
I have to fix the style. But all the test pass now. |
* | ||
* @author Fabien Potencier <fabien@symfony.com> | ||
*/ | ||
class ExpressionLanguage extends BaseExpressionLanguage |
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.
is this replacing something else?
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.
Yes,, something used in the framework bundle.
thanks a lot! i wrapped this up in #611 there are still a couple of things left in the version 3 milestone https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/milestone/6 |
Hello,
Sorry about the mess but i make something wrong with the rebase and drop the commit.
I update the plugin yesterday. I add a match function as asked.
I juste have a question regards the invalidation path attribute. If we have a match we have to clear the path configured inside the attribute but not the route called ?