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
Routes should be able to generate a path that will call that route, so that the path can be embedded into HTML. E.g. if I have a route
valviewUser=Route(
Request.get(Path.root / user /Param.int),
Response.ok[String]
)
I should be able call something like viewUser.path(1234) to produce "/user/1234".
In other words Routes should be bidirectional. This is a step towards allowing routes to be used on the front and backend (and then automatically generating clients from routes).
The text was updated successfully, but these errors were encountered:
Routes should be able to generate a path that will call that route, so that the path can be embedded into HTML. E.g. if I have a route
I should be able call something like
viewUser.path(1234)
to produce"/user/1234"
.In other words Routes should be bidirectional. This is a step towards allowing routes to be used on the front and backend (and then automatically generating clients from routes).
The text was updated successfully, but these errors were encountered: