-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS:
node.js / npm versions:
Additional info:
CodeWScope is deprecated (https://bsonspec.org/spec.html). The schema-analysis is based on bson lib, which knows of a singleCode type that has an optional $scope.
Part of this ticket is to decide what is the best way to address this - should we include deprecated types in the generated schemas, or avoid deprecated types at the cost of the generated schema not matching the actual documents?