The problem is, getRouteByName returns object with all properties defined as protected. I can see the pattern, but I cannot re-use it.
Is there a way to fetch pattern from router component? I'm too tired at this point, I must be missing something.