Skip to content

Commit

Permalink
fix: mapper arguments order issue (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamimattafi authored May 18, 2024
1 parent 8df0234 commit 7860174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.gradle.api.publish.maven.MavenPomScm

class PublishConventions : Plugin<Project> {

private val version = "0.1.0-alpha08"
private val version = "0.1.0-alpha09"
private val group = "com.attafitamim.kabin"

override fun apply(project: Project) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class MapperGenerator(
entitySpec: EntitySpec
): Set<ColumnAdapterReference> {
val entityClassName = entitySpec.declaration.toClassName()
val adapters = HashSet<ColumnAdapterReference>()
val adapters = LinkedHashSet<ColumnAdapterReference>()
val builder = KabinMapper<*>::map.buildSpec()
.addModifiers(KModifier.OVERRIDE)
.returns(entityClassName)
Expand Down

0 comments on commit 7860174

Please sign in to comment.