-
Notifications
You must be signed in to change notification settings - Fork 451
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
Remove legacy Meta, bring Optics KSP #2599
Conversation
Should we move the Optics KSP module here? It no longer depends on Meta, but the docs here do depend on the plug-in. |
We could move it into the Arrow Optics module yes, it will probably make the most sense to develop the compiler plugin there that. I hope it goes green with the bumped versions 🤞 |
@@ -32,12 +32,6 @@ project(":arrow-core-test").projectDir = file("arrow-libs/core/arrow-core-test") | |||
include("arrow-continuations") | |||
project(":arrow-continuations").projectDir = file("arrow-libs/core/arrow-continuations") | |||
|
|||
include("arrow-meta") |
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.
🥳
) | ||
|
||
dokkaGfmMultiModule { removeChildTasks(undocumentedProjects) } | ||
dokkaHtmlMultiModule { removeChildTasks(undocumentedProjects) } | ||
dokkaJekyllMultiModule { removeChildTasks(undocumentedProjects) } | ||
} | ||
|
||
apiValidation { | ||
ignoredProjects.addAll(listOf("arrow-optics-ksp", "arrow-optics-test", "arrow-site")) |
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.
👌
@serras IT'S GREEEN!!! 😍 😍 😍 |
Finally! I’ll approve it, but I think you and @raulraja should have a look too and merge it if you are OK. |
@@ -14,7 +14,7 @@ kotlin { | |||
dependencies { | |||
api(projects.arrowContinuations) | |||
api(projects.arrowAnnotations) | |||
implementation(libs.kotlin.stdlibCommon) | |||
api(libs.kotlin.stdlibCommon) |
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.
@JavierSegoviaCordoba do you know if this is correct?
Since we expose types from Kotlin Std from public API, it should be marked as api
right?
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.
Couple of small left overs we need to clean up.
Thank you for looking into this @serras! This is great 👏 👏 👏 🥳
@@ -36,7 +36,7 @@ class EitherTest : UnitSpec() { | |||
init { | |||
testLaws( | |||
MonoidLaws.laws(Monoid.either(Monoid.string(), Monoid.int()), ARB), | |||
FxLaws.suspended<EitherEffect<String, *>, Either<String, Int>, Int>( | |||
/*FxLaws.suspended<EitherEffect<String, *>, Either<String, Int>, Int>( |
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.
Can these not be uncommented without failing the build @serras ?
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.
Unfortunately not :(
arrow-libs/optics/arrow-optics/src/commonMain/kotlin/arrow/optics/typeclasses/Cons.kt
Outdated
Show resolved
Hide resolved
arrow-libs/optics/arrow-optics/src/commonMain/kotlin/arrow/optics/typeclasses/Cons.kt
Outdated
Show resolved
Hide resolved
arrow-libs/optics/arrow-optics/src/commonMain/kotlin/arrow/optics/typeclasses/Snoc.kt
Outdated
Show resolved
Hide resolved
arrow-libs/optics/arrow-optics/src/commonMain/kotlin/arrow/optics/typeclasses/Snoc.kt
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,106 @@ | |||
//package arrow.optics.arrow.optics |
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.
This file can be deleted, it's duplicated with DSLTest.kt
inside arrow-optics/test
@serras I cannot approve since I originally opened this PR. If we clean up these last leftovers it's ready to merge. |
Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
There seems to be a flaky test in |
@serras mmm, I saw |
(Disclaimer: edited by @serras)
This PR cleans the slate for the Meta story:
arrow-meta-test
package have been copied there.ksp
andkotlin-compile-testing
packages.The update of
kotlinx-coroutines
was tried, but it has been unsuccessful due to breaking changes in version 1.6. This would need further investigation.