Mongodb - how to deserialze when a property has an Interface return type
- by Mark Kelly
I'm attempting to avoid introducing any dependencies between my Data layer and client code that makes use of this layer, but am running into some problems when attempting to do this with Mongo (using the MongoRepository)
MongoRepository shows examples where you create Types that reflect your data structure, and inherit Entity where required. Eg.
…