block65/mrr

Paths with a question mark are not interpolated correctly

Closed this issue · 0 comments

interpolate('/foo/:foo/bar/:bar?', {
  foo: 'baz',
})

Returns "/foo/baz/bar/?" instead of "/foo/baz"