Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Javadsl RouteDirectives.route() with no args will throw java.lang.UnsupportedOperationException: empty.reduceLeft #1170
Reported in #1168 (comment).
This should be illegal. We should probably
@varargs def route(alternatives: Route*): Route
@varargs def route(first: Route, alternatives: Route*): Route