[20:52:27] <Zta77> I would like to persist a model where I have a Java HashMap that uses a custom class for keys -- i.e. not a String. But my CustomKey can easily be represented as a String. How do I make this serialize back and forth seamlessly?
[20:56:08] <Zta77> I realize (now) that BSON requires the key to be a String. But can't I inject a codec that takes care of converting CustomKey into a String before BSON tries to store the entry?
[21:11:09] <Zta77> I guess I have to do the mapping manually during insert and find
[23:40:51] <sterns> if anyone is looking for a hair puller to wrap up the holidays: https://gist.github.com/mattcollier/1ad440b669e365957dd3dc7f4a392134