arunbandari / mongo-gui

A web-based MongoDB graphical user interface
http://20.106.238.56:4321/
MIT License
291 stars 87 forks source link

Retain property level data type while responding back to client's request #1

Closed arunbandari closed 4 years ago

arunbandari commented 4 years ago

Document in DB: { "name": "arun", "doj": 2018-02-28T09:20:59.000Z } here typeof doj is date

Document received by the client: { "name": "arun", "doj": "2018-02-28T09:20:59.000Z" } here typeof doj is string

The following are few more types with the same behaviour

Send the response to client in such a way that the client can restore the original document somehow.