🎉 Welcome to the new GraphQL-ESLint website. Try new playground page →
Rules
Possible Type Extension

possible-type-extension

💡 This rule provides suggestions (opens in a new tab)

  • Category: Schema
  • Rule name: @graphql-eslint/possible-type-extension
  • Requires GraphQL Schema: true ℹī¸
  • Requires GraphQL Operations: false ℹī¸

A type extension is only valid if the type is defined and has the same kind.

This rule is a wrapper around a graphql-js validation function.

Resources