Route-Based Middleware to Handle Default Population Query Logic

What if we have already added parameters to the endpoint query ?
Will they merge ?