akka/akka-http

document that HTTP route construction must not close over Actor state

Open

#110 opened on Sep 8, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhelp wantedsmallt:docs

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

Description

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.

Contributor guide