ctripcorp / SQLlin

A DSL ORM library for Kotlin Multiplatform.
Apache License 2.0
221 stars 11 forks source link

'null' is not supported by default #81

Closed Deorigami closed 5 months ago

Deorigami commented 5 months ago

'null' is not supported by default I created a Data Class with nullable value, but when i insert value with nullable field/properties i got this error

kotlinx.serialization.SerializationException: 'null' is not supported by default

gambar

qiaoyuang commented 5 months ago

Can you provide your code? The data class and the insert statement code.

qiaoyuang commented 5 months ago

This is a bug, I will fix it.

qiaoyuang commented 5 months ago

I have fixed it in version 1.3.1, you can try it now.