When editing a Date field in Compass, after clicking the UPDATE button, the field is stored as String without the user explicitly marking it as such.
Steps to Reproduce
- Double click the existing Date field to enable "EDIT" mode.
- Edit the Date field, by i.e. changing 2022-05-01T06:00:00.000+00:00 to 2022-05-02T06:00:00.000+00:00.
- Click the "UPDATE" button.
The Date field to still be marked as Date.
The Date field is now marked automatically as String.
COMPASS-5664 Editing Date document field changes field type from Date to String