-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Future scope of Flow\Route
#3335
Comments
mhsdesign
added a commit
to mficzel/flow-development-collection
that referenced
this issue
Mar 27, 2024
Question about 2) would be if we would still support package activation like Neos:
Flow:
mvc:
"Some.Package": true if the |
neos-bot
pushed a commit
to neos/flow
that referenced
this issue
Mar 28, 2024
These are notes from the initial thoughts of the future of this annotation, that I want to share
These are notes from the past - not a scheme for how it should be. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Flow\Route
will be introduced via #3325This issue will hold all followups.
1.) custom
ControllerInterface
+ method annotationWe want to allow to attribute custom controllers with
Flow\Route
.If the
Flow\Action
annotation is placed on a custom controller, it should behave a little less magic. See #3325 (comment)(Custom controllers are currently unattractive but via the dispatcher overhaul they will be simpler to use #3311)
In comparison when being placed onto an
ActionController
we might not enforce the 'Action' suffix and pass the method name 1 by 1 to the@action
route value:Also we should contract by documentation of the ControllerInterface that it should be ensured that the method of the
ActionRequest
will be called.2.) Allow to place and name controllers freely
...
ControllerInterface
must be implemented.As discussed in https://discuss.neos.io/t/rfc-future-of-routing-mvc-in-flow/6535 we will refactor the routing values
to include the fully qualified controller name, so it can be easier generated without strong restrictions:
instead of
3.)
Once
@action
is truly optional: https://discuss.neos.io/t/rfc-future-of-routing-mvc-in-flow/6535/5we want to allow
Flow\Route
to be placed on classes directly:The text was updated successfully, but these errors were encountered: