forked from scottdware/go-bigip
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
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 ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels