akc42 / akc-route

A distributed router inspired by PolymerElements/app-route
MIT License
2 stars 0 forks source link

Adjusting outroute incorrectly adds existing outroute path when outroute was not active #5

Closed akc42 closed 7 years ago

akc42 commented 7 years ago

We have a chain of routes like so

page -> pidcid -> date

date is not active, but has a path of /20160101 as a result of a previous call some time ago. I adjust the cidpid parameters so that it now become active and we have to create the outRoute.path value.

At the moment it is adding on the date path, but I think it should only do that if date was previously active.