When users add two locations with the same path, e.g. home and home, the router is unable to handle that. In theory we could add some sort of randomizer to the path, but my judgement in this case is that it would be better to throw an error and have the user set an unique path instead. It would be good to then throw a specific error though. This PR implements that.
Related Issues
Fixes #6
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
Description
When users add two locations with the same path, e.g.
home
andhome
, the router is unable to handle that. In theory we could add some sort of randomizer to the path, but my judgement in this case is that it would be better to throw an error and have the user set an unique path instead. It would be good to then throw a specific error though. This PR implements that.Related Issues
Fixes #6
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?