Kanu
01/06/2022, 11:41 AMCaused by: com.expediagroup.graphql.exceptions.InvalidInputFieldTypeException: Argument cannot be an interface or a union, parameter #2 output of fun aaa.FuzzyDate.`write$Self`(aaa.FuzzyDate, kotlinx.serialization.encoding.CompositeEncoder, kotlinx.serialization.descriptors.SerialDescriptor): kotlin.Unit
It sounds like red herring to me but maybe there is something I can fix?
Or is it incompatibility between expedia 3 and kotlin 1.5?
The class that is failing looks like this
@Generated
@Serializable
data class FuzzyDate(val year: Int? = null, val month: Int? = null, val day: Int? = null, val current: Boolean? = false)