Haley Cunningham
10/06/2024, 7:10 PMbson-kotlinx
build in serializers, but keep running into issues. The last issue that I couldn't overcome before I resorted to trying other methods was that a StreamingJsonEncoder
was being chosen to encode the class ObjectId
identifier, causing the ObjectIdSerializer
to fail. Has anyone successfully implemented this? Is my issue that I am using the same data class for both the request and reponse?
Thread in Slack ConversationHaley Cunningham
10/08/2024, 11:50 PMApplicationCall.respond()
the serialization breaks, as the StreamingJsonEncoder
is supplied rather than the BsonEncoder