Skip to content

Releases: Checho3388/graphql-complexity

0.3.2

14 Mar 18:36
8aa621f
Compare
Choose a tag to compare

This release fixes a bug with __typename fields, as they were considered complex nodes like any other field.
Now fields named __typename will be instantiated as MetaFields in Complexity Tree, and a complexity of 0 will be automatically assigned.

0.3.1

13 Mar 18:44
6e59dd0
Compare
Choose a tag to compare

This release adds support for:

  • Introspection queries are no longer computed by complexity algorithm
  • List fields are taken into account in the complexity algorithm. Field complexity is multiplied by the size of the field, which should be given by argument (first by default).
  • @include and @skip directives are also taken into account for complexity. If the field is ignored, its complexity is replaced by 0.

Releases contributed by @Checho3388 via #7, #6, #5, and #1.

v0.1.0: Releasing the tool

22 Feb 15:06
a62a659
Compare
Choose a tag to compare

First release! A lot of things have been added, so there is nothing to say but "See the README.md" for more info.