thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Pre Request toggle / debugging

Open shawnferry opened this issue 2 years ago • 2 comments

ERROR - Unable to Run Pre Requests for __REQUEST__
Circular Dependency detected in Pre Requests, Please fix it.

Describe the solution you'd like I would like to have a toggle to enable/disable pre requests without deleting them.

Describe alternatives you've considered In addition or as an alternative it would be useful to which collection, request, and pre requests are causing a loop.

Your Team Size Using TC: 3-5

shawnferry avatar Jan 06 '23 17:01 shawnferry

Thanks @shawnferry for the feedback, Will add to roadmap.

rangav avatar Jan 06 '23 18:01 rangav

The circular dependency issue is also reported in the following scenario

               -> Collection B - Request 2 ->   Collection B - Request 1
Collection A -
               ->  Collection B - Request 1

The goal from my perspective here is to have a single entry point into Collection B which contains my auth requests without needing to define complex PreReqs for multiple collections.

Clearly I could duplicate Collection B - Request 1 such that there wasn't a circular dependency but it doesn't feel like a good solution.

shawnferry avatar Jan 06 '23 19:01 shawnferry