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
Use of context.Background() should be avoided. It breaks the clear transmission / connection between components.
Proposal
In many cases we can access a context from some of the function arguments. Otherwise we should think if a parent function has a context and passing it to a callee.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
Use of
context.Background()
should be avoided. It breaks the clear transmission / connection between components.Proposal
In many cases we can access a context from some of the function arguments. Otherwise we should think if a parent function has a context and passing it to a callee.
For Admin Use
The text was updated successfully, but these errors were encountered: