#include <spdlog/spdlog.h>
#include "./subtypes.hpp"
#include "../../protocol/transform/facade.hpp"

namespace lsp::provider::type_hierarchy
{
    std::string Subtypes::GetMethod() const
    {
        return "typeHierarchy/subtypes";
    }

    std::string Subtypes::GetProviderName() const
    {
        return "WorkspaceSubtypes";
    }

    std::string Subtypes::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WorkspaceSubtypesProvider: Providing response for method {}", request.method);

        // TODO: Implement the actual request handling logic
        // 1. Parse request parameters
        // 2. Process the request using appropriate services
        // 3. Return formatted response

        return "{}"; // Placeholder response
    }
}
