Skip to content

Add complexity analysis plugin #578

@pavelnikolov

Description

@pavelnikolov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions