Deprecate RouteAlias and replace it with existing Route annotation.
See original GitHub issueIt’s simpler to have only one mechanism to register routes using annotations.
Route
implementation can be changed to be used multiple times, instead of using also RouteAlias
.
Documentation needs review as well after the issue is completed.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Registering Routes Dynamically | Routing and Navigation | Flow
All components with an @Route annotation are added to the application scope. Configuring User-specific Routes. You can add and remove routes for ...
Read more >Routing (Symfony Docs)
Route Aliasing. Deprecating Route Aliases. Route Groups and Prefixes; Getting the Route Name and Parameters; Special Routes.
Read more >RouteConfiguration (Flow Server 2.2.0 API) - Javadoc.io
Remove the given navigation target route registration. ... the Route annotation to get the path and also register any RouteAlias that may be...
Read more >How to fix Symfony 3.4 @Route and @Method deprecation
Replace this: ... use Symfony\Component\Routing\Annotation\Route; ... /@nebkam/symfony-deprecated-route-and-method-annotations-4d5e1d34556a.
Read more >com.vaadin.flow.server.RouteRegistry java code examples | Tabnine
Add a listener that is notified when routes change for the registry. ... Note! this will remove target route and if possible any...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Speaking of route and route aliases. Consider a user profile view, which can be accessible either via
/profile
(for current user) or via/user/12345
for some other registered user. That translates toObviously, those routes are not aliases to each other, and using
@RouteAlias
is semantically incorrect in that example.Good point.