NoUndefinedVariables.php Interfaces, Classes, Traits and Enums NoUndefinedVariables A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation.