Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate complexity of @searchBy/@sortBy directive #31

Open
webard opened this issue Jun 14, 2022 · 0 comments
Open

Calculate complexity of @searchBy/@sortBy directive #31

webard opened this issue Jun 14, 2022 · 0 comments
Labels
! Breaking change pkg: graphql scope: feat New feature or request

Comments

@webard
Copy link

webard commented Jun 14, 2022

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.

@LastDragon-ru LastDragon-ru added scope: feat New feature or request pkg: graphql labels Jun 14, 2022
@LastDragon-ru LastDragon-ru changed the title [GraphQL] Calculate complexity of searchBy/sortBy directive Calculate complexity of @searchBy/@sortBy directive Jun 14, 2022
@LastDragon-ru LastDragon-ru added the ! Breaking change label Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
! Breaking change pkg: graphql scope: feat New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants