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
we have a few cases where we have routes that share a common root. At the moment it is non-trivial to add a common root part to a parent.
as all descendants of Path all define the same builder (:/:) methods, simply defining them on Path itself allows us to very easily create builder methods that use those on any Path:
def addRoot[P<: Path](p: P) = "root" :/: p
The text was updated successfully, but these errors were encountered:
we have a few cases where we have routes that share a common root. At the moment it is non-trivial to add a common root part to a parent.
as all descendants of Path all define the same builder (:/:) methods, simply defining them on Path itself allows us to very easily create builder methods that use those on any Path:
The text was updated successfully, but these errors were encountered: