-
Type: New Feature
-
Resolution: Works as Designed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: BSON
-
None
-
Environment:N/A
Would it be possible to add default values to Document#getLong and Document#getDouble, you can already do it through Document#getEmbedded but that seems impractical. Pretty much all the getX's have an option for a default value so I don't know if there's a reason you haven't done it for double and long.