Skip to content

Commit

Permalink
Merge branch 'master' into 92
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Jan 1, 2024
2 parents afb2e4e + 7bd5f2d commit ecbd60e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .mill-version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.11.0
0.11.6

5 changes: 3 additions & 2 deletions docs/pages/1 - Cask: a Scala HTTP micro-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ or from query-parameters of the same name (e.g. `param` above). You can make
`: Option[T]` for cases where the `?param=hello` is optional.
If you need to capture the entire sub-path of the request, you can set the flag
`subpath=true` and ask for a `: cask.Subpath` (the name of the param doesn't
`subpath=true` and ask for a `request: cask.Request` (the name of the param doesn't
matter). This will make the route match any sub-path of the prefix given to the
`@cask` decorator, and give you the remainder to use in your endpoint logic.
`@cask` decorator, and give you the remainder to use in your endpoint logic
as `request.remainingPathSegments`
## Multi-method Routes
Expand Down
2 changes: 1 addition & 1 deletion mill
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -e

if [ -z "${DEFAULT_MILL_VERSION}" ] ; then
DEFAULT_MILL_VERSION=0.11.0
DEFAULT_MILL_VERSION=0.11.6
fi

if [ -z "$MILL_VERSION" ] ; then
Expand Down

0 comments on commit ecbd60e

Please sign in to comment.