Field by field deserialize documents in data browser

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      In VSCODE-768 we fixed blank screens occuring when a user attempts to load documents with values that can't be deserialized from ejson, like:
      ```

      {    exampleField:

      { $uuid: 'pineapple' }

      }
      ```
      We currently show an error for documents like that in the data browsing view. This ticket involves improving our handling of those documents so that we do something more inline with compass and mongosh, by showing what we can or just showing an invalid value for that field, and letting folks see the rest of the document.
      Current:

      End state:

      Let's add an e2e test for this. When it's done we can close https://github.com/mongodb-js/vscode/issues/1287 

        1. Screenshot 2026-03-25 at 07.04.47.png
          73 kB
          Rhys Howell
        2. Screenshot 2026-03-26 at 12.46.34.png
          115 kB
          Rhys Howell

            Assignee:
            Tihomir Culig
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: