Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Allows NgRouteCfg to take path of type Pattern #1741

Open
j-jiafei opened this issue Oct 1, 2015 · 1 comment
Open

Allows NgRouteCfg to take path of type Pattern #1741

j-jiafei opened this issue Oct 1, 2015 · 1 comment

Comments

@j-jiafei
Copy link

j-jiafei commented Oct 1, 2015

Currently NgRouteCfg only accepts path of type String, which implements Pattern.

It will be useful if NgRouteCfg could take path of type Pattern, which will allow other subclass of Pattern to be used directly for matching.

@skybrian
Copy link

skybrian commented Oct 1, 2015

To be clear, this is for Dart. In Dart, String and RegExp are subtypes of Pattern.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants