diff --git a/shared/src/commonMain/kotlin/com/lightningkite/lightningdb/ConditionSerialization.kt b/shared/src/commonMain/kotlin/com/lightningkite/lightningdb/ConditionSerialization.kt index 3cc2b7da..5634b8d2 100644 --- a/shared/src/commonMain/kotlin/com/lightningkite/lightningdb/ConditionSerialization.kt +++ b/shared/src/commonMain/kotlin/com/lightningkite/lightningdb/ConditionSerialization.kt @@ -82,7 +82,7 @@ class ConditionSerializer(val inner: KSerializer): MySealedClassSerializer inner.descriptor.serialName.substringBefore('/') == "kotlin.String" -> stringOptions IsRawString.Companion.serialNames.contains(inner.descriptor.serialName) -> rawStringOptions(inner as KSerializer) inner.descriptor.serialName == "kotlin.Int" -> intOptions - inner.descriptor.serialName == "com.lightningkite.GeoCoordinate" -> geocoordinateOptions + inner.descriptor.serialName.substringBefore('/') == "com.lightningkite.GeoCoordinate" -> geocoordinateOptions inner.descriptor.kind == StructureKind.MAP -> stringMapOptions(inner.innerElement2()) inner.descriptor.kind == StructureKind.LIST -> { if(inner.descriptor.serialName.contains("Set")) setOptions(inner.innerElement())