-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BE2] prepare for Scala 3 migration #1113
Conversation
4fa8ba4
to
5711b1b
Compare
5711b1b
to
09eafff
Compare
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.
Looks really good overall
@@ -28,7 +29,7 @@ class AddChirpSuite extends FunSuite with Matchers { | |||
object AddChirpExample { | |||
final val TEXT: String = "text" | |||
final val PARENT_ID: Option[String] = None | |||
final val TIMESTAMP = Timestamp(0) | |||
final val TIMESTAMP: Timestamp = Timestamp(0) |
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.
I think at some places it was unnecessary to add the typing
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.
I personally don't mind but the "migrate" plugin made that change.
"😀", "OMEGA \u03A9", "\u03A8", | ||
"Non empty can be fully non empty", | ||
"Not false is true") | ||
|
||
final val verify_pk = PublicKey(Base64Data.encode(tester.keyPair.getPublicKey)) | ||
final val verify_pk: PublicKey = PublicKey(Base64Data.encode(tester.keyPair.getPublicKey)) |
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.
Here too
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.
same
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, as this is for pure migration purposes, the coverage failure shouldn't be considered relevant imo
09eafff
to
71c7164
Compare
387a32e
to
95567f7
Compare
[PoP - Be1-Go] Kudos, SonarCloud Quality Gate passed! |
[PoP - Be2-Scala] SonarCloud Quality Gate failed. |
[PoP - Fe2-Android] Kudos, SonarCloud Quality Gate passed! |
[PoP - Fe1-Web] Kudos, SonarCloud Quality Gate passed! |
95567f7
to
89b93b4
Compare
[PoP - Be1-Go] Kudos, SonarCloud Quality Gate passed! |
[PoP - Be2-Scala] SonarCloud Quality Gate failed. |
[PoP - Fe2-Android] Kudos, SonarCloud Quality Gate passed! |
[PoP - Fe1-Web] Kudos, SonarCloud Quality Gate passed! |
Done in #1742 |
this is a subset of #1111 that can be applied without actually switching to Scala 3. My hope is proactively doing these changes now will reduce friction when we are ready to switch.