Skip to content

v0.0.4

Choose a tag to compare

@fatfisz fatfisz released this 02 Sep 01:23
· 24 commits to master since this release

Allow optional parameters

Parameters can be made optional by including different versions of URLs with the same name. Such URLs have to have a different number of arguments, e.g.

[
  {
    name: 'optional-param',
    template: 'params/optional/',
  },
  {
    name: 'optional-param',
    template: 'params/optional/${id}/',
  }
]