, \Nuwave\Lighthouse\Support\Contracts\GraphQLContext, \Nuwave\Lighthouse\Execution\ResolveInfo): mixed */ public function resolveField(FieldValue $fieldValue): callable { return function ($root) use ($fieldValue) { $field = Str::snake(Str::before($fieldValue->getFieldName(), 'Localized')); return $root->getAttribute($field)?->localize(); }; } }