Something went wrong. Try again.
The next MongoDB driver for Kotlin ktmongo.opensavvy.dev
kotlin mongodb multiplatform
Something went wrong. Try again.
build(dsl): Add the kotlin.internal.OnlyInputTypes annotation master
It is required to avoid upcasting by the compiler in cases like: ```kotlin Foo::anInt eq "foo" ``` By default, the Kotlin compiler will upcast both values, so it will consider `eq` to be called with the type parameter `Any`. That is barely useful to us, though. Using `OnlyInputTypes` we can refuse upcasting. Instead, the compiler will refuse the above code, which is what we want.
Author Ivan “CLOVIS” Canet Date (Sep 12, 2024, 3:14 PM UTC) Commit 03b3817a 03b3817a3a4b97e087fdafaf79076a4c3db3dedf Parent d12bfaa5 d12bfaa5e84d379eb480bc3e874d597d79b6f456