You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently with auto_return you can have block, force, and if_not_full. But there's no way to turn it off if there is an error. We have many cases where we have to put a provides that just puts it back in only in certain conditions. It would be nice to have an option auto_return: where that then could provide a where clause like where: response.status < 300 (on success) or where: response.body=success.
Expected behavior
We can conditionally decide whether to auto_return.
Describe the bug
Currently with auto_return you can have block, force, and if_not_full. But there's no way to turn it off if there is an error. We have many cases where we have to put a provides that just puts it back in only in certain conditions. It would be nice to have an option
auto_return: where
that then could provide a where clause likewhere: response.status < 300
(on success) orwhere: response.body=success
.Expected behavior
We can conditionally decide whether to auto_return.
Config file
Additional context
This also may alleviate some of the bugs around try runs with providers that are loopbacks to the same API.
The text was updated successfully, but these errors were encountered: