mdedetrich commented on code in PR #122: URL: https://github.com/apache/pekko-samples/pull/122#discussion_r1806666587
########## pekko-sample-cluster-client-grpc-scala/src/main/scala/sample/cluster/client/grpc/ClusterClientReceptionist.scala: ########## @@ -26,7 +26,7 @@ object ClusterClientReceptionist extends ExtensionId[ClusterClientReceptionist] override def get(system: ActorSystem): ClusterClientReceptionist = super.get(system) - override def lookup() = ClusterClientReceptionist + override def lookup: ExtensionId[_ <: Extension] = ClusterClientReceptionist Review Comment: To make this cleaner, you can replace this with ExtensionId[object.type] or in this case ExtensionId[ClusterClientReceptionist.type] -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org