"Undefined" dynamic segments throws error in 2.10 above

My app has a dynamic segment on the error route. error/:code. it works fine with 2.8 when transitionTo/replaceWith to the error route without “code” attribute.

with 2.10 and 2.11 I am seeing this error. You must provide param code to generate.

is this a regression? or perhaps a new enforcement?

shall we change this error to be more explicit, such as “DynamicSegment ‘code’ is required”

It’s not a regression, it was a silent error that is now surfaced to application developers. Feel free to send over a PR suggesting an improve error message, the finer details can be discussed in the PR/issue :slight_smile: