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 

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

              Created:
              Updated: