Skip to content

Example of MongoCodecProvider[MyClass] #18

Answered by Kirill5k
sc6l6d3v asked this question in Q&A
Discussion options

You must be logged in to vote

Hello.

Effectively, MongoCodecProvider[T] is just a wrapper around MongoDB's native CodecProvider class. The only reason why I've introduced it is so that I could derive codecs for case classes that have circe codecs provided (i.e. here).

An example of how it is done can be found here.
There is also a page written about it here.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sc6l6d3v
Comment options

Answer selected by sc6l6d3v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants