namespace ScandiPWA\SocialShareGraphQl\Model\Resolver;
use Magento\Framework\GraphQl\Config\Element\Field;
use Magento\Framework\GraphQl\Query\Resolver\ContextInterface;
use Magento\Framework\GraphQl\Query\Resolver\Value;
use Magento\Framework\GraphQl\Query\ResolverInterface;
use Magento\Framework\GraphQl\Schema\Type\ResolveInfo;
use Magento\Framework\App\Config\ScopeConfigInterface;
* @package ScandiPWA\SocialShareGraphQl\Model\Resolver
class SocialShare implements ResolverInterface
* @param ContextInterface $context
* @param ResolveInfo $info
* @param array|null $value
* @param array|null $args
public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null)