microsoft/Forge

Make RetryExhaustedOnAction and TimeoutOnAction strings accessible from Tree

Open

#26 建立於 2020年8月20日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C# (59 fork)auto 404
enhancementgood first issue

倉庫指標

Star
 (331 star)
PR 合併指標
 (PR 指標待抓取)

描述

Instead of hard-coding "RetryExhaustedOnAction" and "TimeoutOnAction", let's add public const strings or enums so they are more accessible. They should be accessible through the tree/schema so users can easily check the ActionResponse.Status.

Possible solution is to add a new class to the parameters of the Roslyn script.

"ShouldSelect": "C#|(await Session.GetLastActionResponseAsync()).Status == FooEnums.TimeoutOnAction",

貢獻者指南