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
I've noticed while using the go-bigip package that context is not passed through requests. There are several benefits to passing Go context, especially in the case of an SDK:
Request Cancellation & Contextual Data Propagation:
Context can carry deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes, handling timeouts and preventing unnecessary resource usage.
Improved Error Handling:
With context, errors can be propagated more effectively, ensuring that upstream systems can handle them appropriately.
Is there a particular reason why context is not used in the package ?
The text was updated successfully, but these errors were encountered:
I've noticed while using the go-bigip package that context is not passed through requests. There are several benefits to passing Go context, especially in the case of an SDK:
Request Cancellation & Contextual Data Propagation:
Improved Error Handling:
Is there a particular reason why context is not used in the package ?
The text was updated successfully, but these errors were encountered: