-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The bson dependency in the gemspec should be 4.1, so that the driver can pass a validating_keys arg to #to_bson.
The following method signatures should be changed to reference BSON::Config.validating_keys?
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/dbref.rb#L87
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/grid/file/info.rb#L201
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/grid/file/chunk.rb#L138
- depends on
-
RUBY-1092 Add option to check keys in BSON and provide configurable option in driver
- Closed