zigzago
zigzago
There is no support planned for now. However I think it should be doable using https://github.com/mongodb/stitch-android-sdk (it seems that there is also a "pure java" version you can use in...
I would follow these steps: 1) Add these dependencies org.mongodb:stitch-server-sdk:4.2.1 org.litote.kmongo:kmongo:3.10.0 2) Use the code in the previous comment to insert and retrieve simple data with RemoteDataCollection using this doc:...
Thank you! I'm going to review the PR
@jbmolle I agree with the proposal. A PR would be great :)
see https://github.com/Litote/kmongo/issues/310
This is because com.mongodb.client.model.geojson.Point has no Jackson serializer nor deserializer. The stacktrace is clear: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.mongodb.client.model.geojson.Point` (no Creators, like default construct, exist): cannot deserialize from Object...
@channguyen please provide a test case. You can see a simple test case here: https://github.com/Litote/kmongo/commit/a55b2b3dd2e9495fccad7c24a3d07380caa43b19
@octawizard Remove the kmongo dependency (jackson mapping) - just keep the kmongo-native dependency
There is no plan today to add Gson support. For Jackson, [bson4jackson](https://github.com/michel-kraemer/bson4jackson) is used under the hood for direct bson object mapping. I don't know any Gson lib with the...
@PetkevichPavel you can take a look at java driver documentation https://docs.mongodb.com/drivers/java/sync/v4.3/fundamentals/crud/read-operations/geo/ For queries, KMongo supports geojson extensions (like [fun KProperty.near(geometry: Point, maxDistance: Double? = null, minDistance: Double? = null): Bson...