protected function convertNamedTypeNode(NamedTypeNode $node): Type
    {
        $nodeName = $node->name->value;
        switch ($nodeName) {
            case 'ID':
                return Type::id();
            case 'Int':
                return Type::int();
            case 'Boolean':
                return Type::boolean();
            case 'Float':
                return Type::float();
            case 'String':
                return Type::string();
            default:
                return $this->typeRegistry->get($nodeName);
        }
    }