This extension provides the following features:
ResolveInfo::getFieldSelection($depth)
return type is interpreted based on passed$depth
value.
To use this extension, require it in Composer:
composer require --dev simpod/phpstan-graphql
And include extension.neon in your project's PHPStan config:
includes:
- vendor/simpod/phpstan-graphql/extension.neon