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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I have the following issue and maybe I am just missing something:
I want to filter out null in an enum list. It works great in Java, but fails in Kotlin.
The following test reproduces the "wrong" behaviour:
import com.serjltt.moshi.adapters.DefaultOnDataMismatchAdapter
import com.serjltt.moshi.adapters.FilterNulls
import com.squareup.moshi.Moshi
import org.junit.Test
class AnimalTest {
enum class Animal {
Dog,
Cat
}
}
Beta Was this translation helpful? Give feedback.
All reactions