-
Notifications
You must be signed in to change notification settings - Fork 81
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
Support REST controller invalidation #23
Comments
@lsmith77 do you have inputs for this idea? sounds like a cool RAD way of doing things. |
can you elaborate a bit more on how this is supposed to work? |
Maybe have an annotation
etc. For determining invalidation paths, we could:
|
The only problem I see here is that we would need to check whether the route actually exists: so if |
no it is not. |
we face the same problem with the route collection in #161 - what would be the clean way to do such things? |
@dbu Building a service which extracts the informations from the RouteCollection and then caches them. You can look at the way FOSRestBundle does it |
Add a controller annotation and YML configuration option that invalidate all methods in a controller when they and their routes names follow a convention, such as the of the FOSRestBundle.
The text was updated successfully, but these errors were encountered: