You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "sfali23 (via GitHub)" <gi...@apache.org> on 2024/11/11 16:41:52 UTC
[I] Incorrect import statements generated from GRPC plugin [pekko-grpc]
sfali23 opened a new issue, #410:
URL: https://github.com/apache/pekko-grpc/issues/410
It seems that GRPC plugin generated code has generated incorrect import statements, look at the following generated code `org.apache` is missing from the imports which is causing to fail at compile time. I am using Scala 3 and Pekko GRPC 1.1.0.
```import scala.concurrent.ExecutionContext
import org.apache.pekko
import pekko.grpc.scaladsl.{ GrpcExceptionHandler, GrpcMarshalling }
import pekko.grpc.Trailers
import pekko.actor.ActorSystem
import pekko.actor.ClassicActorSystemProvider
import pekko.annotation.ApiMayChange
import pekko.http.scaladsl.model
import pekko.stream.{Materializer, SystemMaterializer}
import pekko.grpc.internal.TelemetryExtension
import pekko.grpc.PekkoGrpcGenerated```
Regards,
Syed
--
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-unsubscribe@pekko.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Incorrect import statements generated from GRPC plugin [pekko-grpc]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #410:
URL: https://github.com/apache/pekko-grpc/issues/410#issuecomment-2468616215
This is valid in Scala. You can import `org.apache.pekko` and then start later imports with just `pekko`.
--
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-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Incorrect import statements generated from GRPC plugin [pekko-grpc]
Posted by "sfali23 (via GitHub)" <gi...@apache.org>.
sfali23 closed issue #410: Incorrect import statements generated from GRPC plugin
URL: https://github.com/apache/pekko-grpc/issues/410
--
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-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Incorrect import statements generated from GRPC plugin [pekko-grpc]
Posted by "sfali23 (via GitHub)" <gi...@apache.org>.
sfali23 commented on issue #410:
URL: https://github.com/apache/pekko-grpc/issues/410#issuecomment-2468642546
Sorry my bad, I was having Pekko version mismatch and excluded all `org.apache.pekko` dependencies from grpc runtime and forgot to add individual dependencies.
--
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-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Incorrect import statements generated from GRPC plugin [pekko-grpc]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #410:
URL: https://github.com/apache/pekko-grpc/issues/410#issuecomment-2468618877
If you get a compile issue, maybe you should report it to Scala3 team.
--
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-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org