-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: BSON
Add depth tracking to the bson.Document, bson.Reader, bson.ReaderElement, and bson.Element types. This will enable users to specify a maximum nested subdocument or array depth.
There is already a validate method with depth tracking parameters on each of these types, it needs to be implemented and then any method that would have called the previous validation methods should call this one now, e.g. bson.Reader.Validate should call bson.Reader.validate, which should now contain the logic of bson.Reader.Validate. Any validation methods that are called across types should use the new depth tracking validate methods instead of the top level Validate methods.
- has to be done after
-
GODRIVER-164 Write full implementation of the bson.Document type
- Closed
-
GODRIVER-165 Write full implementation of the bson.Element type
- Closed
-
GODRIVER-168 Write full implementation of the bson.Reader type
- Closed
-
GODRIVER-169 Write full implementation of the bson.ReaderElement type
- Closed
- is depended on by
-
GODRIVER-180 Add support for maxdepth when validating a bson.Document or bson.Reader type
- Closed