app-route icon indicating copy to clipboard operation
app-route copied to clipboard

Test out inheritance for writing custom route matching code

Open rictic opened this issue 9 years ago • 4 comments

This won't land until the extends branch in Polymer is merged, but we should test it out to be confident that this should work.

rictic avatar Feb 17 '16 01:02 rictic

The test succeeded, now just waiting on inheritance to land in Polymer core.

rictic avatar Mar 28 '16 18:03 rictic

Will this handle things like having one route handle:

  • /start/
  • /docs/
  • /tools/

but not:

  • /search/
  • /api/

... because I can't figure out how to do that now.

arthurevans avatar Apr 26 '16 23:04 arthurevans

@arthurevans You could definitely extend the route matching logic to support that use case.

rictic avatar Apr 27 '16 02:04 rictic

Cool. I don't suppose you have any ideas for how we could do this now...? Asking for a friend. Or a friendly website.

arthurevans avatar Apr 27 '16 05:04 arthurevans