Y
Hacker News
new
|
ask
|
show
|
jobs
by
camel_gopher
970 days ago
That’s a very big assumption, at least for Go based applications.
2 comments
nulld3v
970 days ago
I don't think it's unreasonable, you need a Context to make a gRPC call and you get one when handling a gRPC call. It usually doesn't get lost in between.
link
otterley
970 days ago
True for gRPC, but not necessarily for HTTP - the HTTP client and server packages that ship with Go predate the Context package by quite a long while.
link
edenfed
970 days ago
We also thinking on implementing fallback mechanism to automatically propagate context on the same goroutine if context.Context is not passed
link