-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate HttpApp and remove internal usage. #2791
Conversation
docs/dsl/handler_aspect.md
Outdated
@@ -232,9 +233,11 @@ val intAspect: HandlerAspect[Any, Int] = HandlerAspect.identity.as(42) | |||
To access this integer value in the handler, we need to define a handler that receives a tuple of `(Int, Request)`: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description of the snippet is required to be refactored.
docs/dsl/handler_aspect.md
Outdated
@@ -258,9 +261,10 @@ val intStringAspect: HandlerAspect[Any, (Int, String)] = | |||
Correspondingly, to access the output context of this `HandlerAspect`, we need to have a handler that receives a tuple of `(Int, String, Request)`: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this.
@987Nabil I noticed you kept |
@jdegoes I'll switch it around |
a6e9282
to
aac2912
Compare
docs/dsl/routes.md
Outdated
@@ -195,34 +195,18 @@ trait Routes[-Env, +Err] { | |||
} | |||
``` | |||
|
|||
## Converting `Routes` to `HttpApp` | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of removing this section, I think we can refactor it and move it to the serving section to explain why we need handled routes to serve them.
@987Nabil Let me know when build is passing so we can get this in sooner rather than later. |
b8c3b92
to
6855895
Compare
6855895
to
da912a0
Compare
@jdegoes build is green |
It seems that Routes and HttpApp are at the end just two wrappers aroud a set of routes. Therefore this PR tries to simplify the structure