servicecomb-pack icon indicating copy to clipboard operation
servicecomb-pack copied to clipboard

官方C# demo 是.net core 2.1的 现在我升级到.net core 5.0 并且集成到我的项目中 CompensableAttribute 特性不执行

Open www5255977 opened this issue 2 years ago • 5 comments

查看源码 有特性 CompensableAttribute 用来标识回退 跟当前执行方法的特性, 并上传至 saga协调器 但是我升级到.net core 5.0 后 此特性一直不执行 希望各位能支持一下, 我司考虑集成到生产环境。

[Compensable(nameof(CancelTestSaga))] public void TestSaga(long Id) { throw new ArgumentException("test CancelTestSaga serivice error");
}

    void CancelTestSaga(long Id)
    {
        Console.WriteLine("测试CancelCarPost");
    }  

www5255977 avatar Nov 02 '21 08:11 www5255977

Sorry, there is nothing I can do, the C# version of the Saga client comes from https://github.com/OpenSagas-csharp/servicecomb-saga-csharp.

@withlin Do you have any suggestions?

coolbeevip avatar Nov 02 '21 08:11 coolbeevip

抱歉,我无能为力,Saga 客户端的 C# 版本来自https://github.com/OpenSagas-csharp/servicecomb-saga-csharp

@withlin 你有什么建议吗? 能告知一下 C# 客户端是哪位大佬 提供的吗

www5255977 avatar Nov 02 '21 08:11 www5255977

@coolbeevip @www5255977 sorry, I haven't developed c# language for a long time.

withlin avatar Nov 02 '21 08:11 withlin

https://github.com/OpenSagas-csharp/servicecomb-saga-csharp。 为什么我打开这个地址 是404呢

www5255977 avatar Nov 02 '21 08:11 www5255977

https://github.com/OpenSagas-csharp/servicecomb-saga-csharp。 为什么我打开这个地址 是404呢

正确的地址是 https://github.com/OpenSagas-csharp/servicecomb-saga-csharp

WillemJiang avatar Nov 04 '21 14:11 WillemJiang