When you have a *Value, and you want to get the value irregardless of the type, you would call *Value.Interface(). But when the value is an EmbeddedDocument or Array, it's returning the .String() result which makes the resulting interface unusable (since it's always a string and not the actual type).
- is related to
-
GODRIVER-548 Value.Interface() should return the underlying type for a Document
- Closed