Repository navigation
Conversation
Author
agammann
reviewed
Nov 11, 2026
agammann
left a comment
There was a problem hiding this comment.
Enum<E>.qualifier now uses "$typeName.$name" with this::class.simpleName; two enums in different packages with the same simple class name and constant still collide (foo.Mode.ON and bar.Mode.ON both become mode.on). Could the qualifier include a stable multiplatform type identity, with a regression for same-named enums in different packages?
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2364
Enum.qualifieris nowsimpleName.name, lowercased.named(Names1.ENUM_NAME)isnames1.enum_nameinstead ofenum_name.KClass.qualifiedNameis not used because it does not compile on Kotlin/JS.single(named(NetworkClient.ENCRYPTED))/get(named(NetworkClient.ENCRYPTED)). A string qualifier no longer matches that enum:named("encrypted")is notnamed(NetworkClient.ENCRYPTED).apiCheckpasses and no.apidump update is needed.Please note on https://insert-koin.io/docs/reference/koin-core/qualifiers that an enum qualifier value now includes the enum type.
docs/in this repo was left unchanged.