Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30875

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.17, 3.4.9, 3.5.13
    • JavaScript
    • None
    • Fully Compatible
    • v3.4, v3.2, v3.0
    • Platforms 2017-09-11

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jason.carey@mongodb.com Jason Carey
              jason.carey@mongodb.com Jason Carey
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: