Skip to content

v0.8.1

Compare
Choose a tag to compare
@boopathi boopathi released this 30 Mar 14:57
· 32 commits to main since this release
5645871

Bug Fixes:

  • fix: skip include logic handling multiple paths to same node (PR: #197) (Issue: #166)

This release introduces a new CompilerOption useExperimentalPathBasedSkipInclude. If you have multiple "fragment spreads" pointing to the same fragment and use skip include inside the fragment, it is recommended to use this option to avoid a bug. In future releases, this option will be removed when it becomes the default.

For example,

const compiledQuery = compileQuery(
  schema, ast, operationName,
  {
    useExperimentalPathBasedSkipInclude: true
  }
);