-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala3 mqtt streaming #161
Conversation
@@ -53,7 +53,8 @@ object ControlPacketType { | |||
val DISCONNECT = ControlPacketType(14) | |||
val Reserved2 = ControlPacketType(15) | |||
} | |||
final case class ControlPacketType private (underlying: Int) extends AnyVal | |||
@InternalApi | |||
final case class ControlPacketType(underlying: Int) extends AnyVal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private[connectors] ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code is used in a test that is in the docs.scaladsl
package - so the private[connectors] is invisible to that package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala Update MqttFlowSpec.scala remove val declarations
part of #126
The main problems
docs.scaladsl
and somehow Scala 2 lets that have access to private fields - Scala 3 cares about this - I had to make some stuff public and mark them as@InternalApi