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.