Add support for a "no-owned bson" mode for JS Scopes

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.2.17, 3.4.9, 3.5.13
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • v3.4, v3.2, v3.0
    • Platforms 2017-09-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we rely on users of the JS layer to always mark objects as owned, or call advanceGeneration as needed to invalidate view-only types. We should add a mode to the scope which enforces ownership to prevent unowned objects from being passed in if we're not expecting them

              Assignee:
              Mira Carey
              Reporter:
              Mira Carey
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: