| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
use Array.isArray()
Sorry, something went wrong.
|
please update and squash your commits |
Sorry, something went wrong.
|
@vicb |
Sorry, something went wrong.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
When route are given as Array, Angular throws error with Invalid route configuration: routes must have path specified which does not really express what's wrong.
What is the new behavior?
Throw error with new message Invalid route configuration: Array cannot be specified.
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
I'm certain that there are some people who think route can be given as array and it should be eventually flattened.
I hope this will them to figure out the problem they are having.
(Current error message confused me a little bit, and took sometime to resolve it.)