Alternatives to returnInternalServerErrorOnFailure #2926
-
When we first built durable functions in C# under .Net 6, the Orchestration HTTP trigger code used a Now under .Net 8, the object model in the Orchestration HTTP trigger code has changed to a Is the thinking now that the caller should check |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There were definitely some debates about the previous version of
Yes, I think this is a good idea if possible. The old model was mostly optimized for certain low-code clients like Logic Apps where it was difficult to inject any custom logic that could actually look at the runtime status. But if you're able to add code that considers the runtime status, then that would definitely be the recommended (and frankly, most reliable) approach. |
Beta Was this translation helpful? Give feedback.
There were definitely some debates about the previous version of
CreateCheckStatusResponseAsync
. Unfortunately, it's one of those things were there isn't an industry standard so it's hard to know what to go with, especially since there are conflicting examples across the web.Yes, I think this is a good idea if possible. The old model was mostly optimized for certain low-code clients like Logic Apps where it was difficult to inject any custom logic that could actually look at the runtime status. But if you're able to add code that c…