Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules

DisableIntrospection::introspectionDisabledMessagepublic staticWC 1.0

Method of the class: DisableIntrospection{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = DisableIntrospection::introspectionDisabledMessage(): string;

DisableIntrospection::introspectionDisabledMessage() code WC 10.9.1

public static function introspectionDisabledMessage(): string
{
    return 'Automattic\WooCommerce\Vendor\GraphQL introspection is not allowed, but the query contained __schema or __type';
}