Static and dynamic route, what will be first?

Hi.
I thinking to use in my app some dynamic route, but they will also include some static route. Now it’s question. what is order?
For example I have a static route:
/product/new
and dynamin route
/product/:product_name

so if I go to /product/new this will go straight to static or firstly will try to resolve it with dynamic?

A quote from the documentation

On startup, the navigation target is automatically configured for every greet/<anything> path, except where a separate navigation target with the exact @Route is configured to match greet/<some specific path> . It’s worth noting that an exact navigation target always takes precedence over route parameters when resolving the URL.

So, the exact match takes precedence over the route parameter