Something went wrong. Try again.
Easy Address Field is the easiest way to add an address to your entries.
Something went wrong. Try again.
1234567891011121314151617181920<?php
namespace studioespresso\easyaddressfield\graphql;
use craft\gql\base\ObjectType;use GraphQL\Type\Definition\ResolveInfo;
class EasyAddressFieldResolver extends ObjectType{ /** * @inheritdoc */ protected function resolve($source, $arguments, $context, ResolveInfo $resolveInfo): mixed { $fieldName = $resolveInfo->fieldName;
return $source->$fieldName; }}