Context?
#2149
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it used by the client or the api implementation? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I looked into the context.Context and I wonder why not put the context as a member variable of the Client struct, so the context could be retrieved by |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the reason the context.Context has to be exposed to the api?
I don't know how it's useful. But assuming it's useful, why is it not hidden in the implementations? This looks like a faulty api design.
Beta Was this translation helpful? Give feedback.
All reactions