public static function generate(array $typeFields): array
    {
        $arguments = [];

        foreach ($typeFields as $fieldName => $field) {
            $config = $field->config;

            $required =  isset($config['generator-required']) ? ($config['generator-required'] ? '!' : '') : '';
            $className = get_class($field);
            if ($className !== ObjectType::class) {
                continue;
            }

            $arguments[] = sprintf('%s_id: ID%s', $fieldName, $required);
        }

        return $arguments;
    }