This trait doesn't add anything, except that it makes the router created by the LagomServer
strongly typed. This allows it to be dependency injected by type, making it simple to use it
in combination with the Play routes file.
For example, if using a custom router, the Lagom router could be routed to from the routes file
like this:
This member is added by an implicit conversion from LagomServiceRouter to
any2stringadd[LagomServiceRouter] performed by method any2stringadd in scala.Predef.
This member is added by an implicit conversion from LagomServiceRouter to
ArrowAssoc[LagomServiceRouter] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from LagomServiceRouter to
StringFormat[LagomServiceRouter] performed by method StringFormat in scala.Predef.
This member is added by an implicit conversion from LagomServiceRouter to
ArrowAssoc[LagomServiceRouter] performed by method ArrowAssoc in scala.Predef.
A Lagom service router.
This trait doesn't add anything, except that it makes the router created by the LagomServer strongly typed. This allows it to be dependency injected by type, making it simple to use it in combination with the Play routes file.
For example, if using a custom router, the Lagom router could be routed to from the routes file like this:
-> / com.lightbend.lagom.scaladsl.server.LagomServiceRouter