Skip to content

Alternatives to returnInternalServerErrorOnFailure #2926

Answered by cgillum
anthonywhite asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Is the thinking now that the caller should check runtimeStatus or a custom status attribute/object in the Location response to verify successful completion?

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anthonywhite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants