pjfanning commented on code in PR #122:
URL: https://github.com/apache/pekko-samples/pull/122#discussion_r1806676447


##########
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:
   I get this compile error:
   
   ```
   [error] 29 |  override def lookup: 
ExtensionId[ClusterClientReceptionist.type] = ClusterClientReceptionist
   [error]    |                                                                 
    ^^^^^^^^^^^^^^^^^^^^^^^^^
   [error]    |Found:    
sample.cluster.client.grpc.ClusterClientReceptionist.type
   [error]    |Required: org.apache.pekko.actor.ExtensionId[
   [error]    |  sample.cluster.client.grpc.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

Reply via email to