LastDragon-ru / lara-asp

Awesome Set of Packages for Laravel
MIT License
11 stars 1 forks source link

Calculate complexity of `@searchBy`/`@sortBy` directive #31

Open webard opened 2 years ago

webard commented 2 years ago

Hello, I think that searchBy/sortBy directives should calculate their complexity and add them to overall query complexity. This should prevent making exhausting queries to API, or allow to save more complex queries to debug purposes. Would be perfect, If we could read the complexity for sortby / searchby separately.