-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Resolved because we decided not to change the behavior reported in this issue.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Description
Is your feature request related to a problem? Please describe.
In order to not forget to change all the occurrences of some route when it changes I would use a constant field. However, Blazor does not allow to reference a constant field in @page directive like I can do in RouteAttribute that it produces.
Describe the solution you'd like
Allow referencing constant field in @page directive
Metadata
Metadata
Assignees
Labels
✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Resolved because we decided not to change the behavior reported in this issue.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components