Open crm76 opened 5 years ago
Have a look at: Make Route Constraints Optional #1377 I think the syntax is expected to be /seg/{opt:int?}
When that syntax is used neither /seg/1 nor /seg work. ¯_(ツ)_/¯
Uhh... possibly left as a feature request. Digging a little further #1418 seems to indicate this has not been implemented.
Given /seg/{opt?:int}
Navigating to /seg/1 works.
But navigating to /seg does not (404).
Removing the constraint (:int) works as expected.