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

Add complexity analysis plugin #578

Open
pavelnikolov opened this issue Feb 16, 2023 · 1 comment
Open

Add complexity analysis plugin #578

pavelnikolov opened this issue Feb 16, 2023 · 1 comment
Milestone

Comments

@pavelnikolov
Copy link
Member

pavelnikolov commented Feb 16, 2023

Allow users to add validation plugin(s) in order calculate complexity analysis. The following items need to be implemented:

  1. Visit all fields from the query and calculate complexity by given estimators and default field complexity
  2. Allow declaration of a @complexity directive (name can be overridden) to allow users to override the complexity value of a field.
  3. Stretch goal allow multipliers of the complexity value based on the value/type of field arguments.

depends on: #570

@pavelnikolov pavelnikolov changed the title Add @complexity directive Add complexity analysis Feb 26, 2023
@pavelnikolov pavelnikolov changed the title Add complexity analysis Add complexity analysis plugin Feb 26, 2023
@pavelnikolov pavelnikolov added this to the v1.7.0 milestone Mar 2, 2023
@pavelnikolov
Copy link
Member Author

see #324 and #401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant