Skip to content

Update complexity analysis to handle variables #58

@shalarewicz

Description

@shalarewicz

When analyzing the complexity of a query that returns a bounded lists, the length of the list is currently determined by searching the provided parameters for one of three limiting keywords first, last and limit. Currently, the algo only parses numbers when determining the value of these arguments. Update the algorithm to also parse use values pass as Variables.

This implementation should pass the tests added in #61.

  • TODO Enable test a default value is provided in the schema...and a value is not provided with the query
  • TODO Enable test `a default value is provided in the schema...and the argument is passed in as a variable
  • TODO Enable test `a default value is not provided in the schema...and the argument is passed in as a variable

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions