Skip to content

Commit

Permalink
better combined names
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 19, 2024
1 parent 015cbc1 commit 5a4eda8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ abstract class MappingResolver<T : MappingResolver<T>>(val name: String) {
private val _entries = finalizableMapOf<String, MappingEntry>()
val entries: Map<String, MappingEntry> get() = _entries

open val combinedNames by lazy {
entries.keys.sorted().map { entries[it]?.id }.joinToString { "-" }
open suspend fun combinedNames(): String {
finalize()
return entries.keys.sorted().map { entries[it]?.id }.joinToString { "-" }
}

lateinit var namespaces: Map<Namespace, Boolean>
Expand Down

0 comments on commit 5a4eda8

Please sign in to comment.