Skip to content

Commit

Permalink
Expose KMongoSerializationRepository (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
BizarreAlex authored and zigzago committed Feb 28, 2020
1 parent 1f17a75 commit 2c1cb51
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ inline fun <reified T> registerSerializer(serializer: KSerializer<T>) {
@Volatile
var configuration: Configuration = Configuration()

/**
* The KMongo serialization module.
*/
val kmongoSerializationModule: SerialModule get() = KMongoSerializationRepository.module

/**
*
*/
Expand Down

0 comments on commit 2c1cb51

Please sign in to comment.