Skip to content

Support optional parameters in blazor routing #10759

Closed
@ichensky

Description

@ichensky

Routing with nulable types not working.

  1. Create blazor page.
  2. Add route 'fetchdata/{page:int?}'
    There will be an exception:
Invalid template 'fetchdata/{page:int?}'. 
The character '?' in parameter segment '{page:int?}' is not allowed.

Also it is not possible create "double routing" like in the issue #10686

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onehelp wantedUp for grabs. We would accept a PR to help resolve this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions