github graph-gophers/graphql-go v1.7.1

latest release: v1.7.2
8 days ago

What's Changed

  • [BUGFIX] Reject object, interface, and input object type definitions that declare zero fields/input values (spec compliance) by @pavelnikolov in #676
  • [IMPROVEMENT] Optimize overlapping field validation to avoid quadratic memory blowups on large sibling field lists by @pavelnikolov in #678
  • [IMPROVEMENT] SelectedFieldNames now returns dot-delimited nested field paths (e.g. products, products.id, products.category, products.category.id). Intermediate container object/list paths are included so resolvers can check for both a branch (products.category) and its leaves (products.category.id). HasSelectedField and SortedSelectedFieldNames operate on these paths. This aligns behavior with typical resolver projection needs and fixes missing nested selections by @pavelnikolov in #680

Full Changelog: v1.7.0...v1.7.1

Don't miss a new graphql-go release

NewReleases is sending notifications on new releases.