Route-Based Middleware to Handle Default Population Query Logic

Learn how to set the default "populate" options via route middleware. Instead of passing "populate" on each request from the frontend, the can handle this functionality via route-based middleware in the backend. This will allow you to keep your frontend requests lean and organized.


This is a companion discussion topic for the original entry at https://strapi.io/blog/route-based-middleware-to-handle-default-population-query-logic

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