GraphQL-Gate icon indicating copy to clipboard operation
GraphQL-Gate copied to clipboard

Completed analysis of include and skip directives

Open evanmcneely opened this issue 3 years ago • 1 comments

Summary

  1. adds support for @skip and @include directives for more accurate cost analysis for queries using these directives
  2. adds tests for these directives on objects, interfaces/fragments

Type of Change

  • [x] New feature (non-breaking change which adds functionality)

Issues

closes #95

Evidence

Screen Shot 2022-08-18 at 2 01 59 PM Screen Shot 2022-08-18 at 2 05 54 PM

evanmcneely avatar Aug 18 '22 21:08 evanmcneely

I ended up refactoring things a bit to check all directives in the array.

Screen Shot 2022-08-20 at 10 31 24 AM

evanmcneely avatar Aug 20 '22 17:08 evanmcneely