Skip to content

[BUG] Kotlin usecases cannot have public fields #3

@quantummaiddeveloper

Description

@quantummaiddeveloper

Describe the bug
Kotlin usecases cannot have public fields.

To Reproduce

class Repository()

class MyUseCase(val repository: Repository) {
   fun execute() {
   }
}

fun main() {
   aUseCaseMaid()
      .invoking(MyUseCase::class.java)
      .build()
}

Expected behavior
Ignore the autogenerated getters.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions