Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules
FragmentsOnCompositeTypes::inlineFragmentOnNonCompositeErrorMessage
Method of the class: FragmentsOnCompositeTypes{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = FragmentsOnCompositeTypes::inlineFragmentOnNonCompositeErrorMessage( $type ): string;
- $type(string) (required)
- .
FragmentsOnCompositeTypes::inlineFragmentOnNonCompositeErrorMessage() FragmentsOnCompositeTypes::inlineFragmentOnNonCompositeErrorMessage code WC 10.9.1
public static function inlineFragmentOnNonCompositeErrorMessage(string $type): string
{
return "Fragment cannot condition on non composite type \"{$type}\".";
}