Alexandru Gheorghe
Alexandru Gheorghe
Am I the only one who tried adopting v4 and encountered this issue?
I second what @dwightfowler said. The tutorial is from 2020, 4 years have passed. I think it's time to have a decent Jetpack Compose modern tutorial for Maps.
Tried to workaround it by implementing: ```kotlin val mapping = mutableMapOf( "key1" to mutableMapOf( "subkey1" to 1L, "subkey2" to 1L, "subkey3" to 1L ), "key2" to mutableMapOf( "subkey4" to 1L...
I've tried ```kotlin @Convert(converter = StringLongMapConverter::class, dbType = ByteArray::class) var mapping: MutableMap? = null ``` however, the retrieved type from the database is still `Integer` instead of `Long`. ---- ###...
I've tried the converter using the [second layout](https://github.com/objectbox/objectbox-java/issues/1181#issuecomment-2202579374) and it worked.
Additionally, what's strange, is that with: ```kotlin var mapping: MutableMap? = null ``` ObjectBox will correctly return a `Long` and not an `Integer`
I've only ran the test with debugger by setting a breakpoint on the `assert` line and verifying the type of the values returned by the mock data source against the...