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
{{ message }}
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
We should have a story to enable user functions to get the context.Context from the gRPC server handler function in a clean way. context.Context shall be propagated (and not stored in struct types) by chained func calls, but having functions like
(crdt|eventsourced).Context will get the stream context embedded. Contrary to some wisdom in the packages documentation https://golang.org/pkg/context/
We do not embedd the context for other purposes than having it on the call stack and with limited lifespan of an entity running. There is a certain consent, that the recommendation by the context package should be relaxed golang/go#22602.
We should have a story to enable user functions to get the context.Context from the gRPC server handler function in a clean way. context.Context shall be propagated (and not stored in struct types) by chained func calls, but having functions like
is one context too much to bear for an API.
The text was updated successfully, but these errors were encountered: