akka/akka-http
document that HTTP route construction must not close over Actor state
开放
#110 创建于 2016年9月8日
1 - triagedhelp wantedsmallt:docs
仓库指标
- 星标
- (1,311 个星标)
- PR 合并指标
- (平均合并 1天 10小时) (30 天内合并 2 个 PR)
描述
Issue by rkuhn Thursday Feb 12, 2015 at 20:01 GMT Originally opened as https://github.com/akka/akka/issues/16871
The pattern we show should be inspired by the Props recommendation: build the Route in a function within the companion object to make sure that nothing is pulled in accidentally, all captured values are explicit.