You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Class declares 1 type parameters, but 0 were provided.
at kotlin.reflect.full.KClassifiers.createType(KClassifiers.kt:50)
at kotlin.reflect.full.KClassifiers.createType$default(KClassifiers.kt:42)
at com.worldsnas.faketory.Faketory.createType(Faketory.kt:352)
at com.worldsnas.faketory.Faketory.resolveParameter(Faketory.kt:254)
at com.worldsnas.faketory.Faketory.internalCreate(Faketory.kt:193)
at com.worldsnas.faketory.Faketory.create(Faketory.kt:148)
data class Hello(
val id: Int,
val name: String?
)
@Test
fun testHello() {
Faketory.create<Hello>()
}
This issue occurred on 1.1.0
The text was updated successfully, but these errors were encountered:
There's an issue when I use a nullable field.
This issue occurred on 1.1.0
The text was updated successfully, but these errors were encountered: