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

namespace lsp::provider::workspace
{
    std::string DidChangeConfiguration::GetMethod() const
    {
        return "workspace/didChangeConfiguration";
    }

    std::string DidChangeConfiguration::GetProviderName() const
    {
        return "WorkspaceDidChangeConfiguration";
    }

    void DidChangeConfiguration::HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WorkspaceDidChangeConfigurationProvider: Handling notification for method {}", notification.method);

        // TODO: Implement the actual notification handling logic
        // 1. Parse notification parameters
        // 2. Update appropriate services/state
        // 3. Trigger any necessary side effects
    }
}
