Azure / Azure/cosmos-explorer

Default document for Mongo API should have an _id property

Open
#968 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
131
Forks
67
Avg merge
3d 13h
Merged PRs (30d)
10

Description

When customers create a document in the Data Explorer, the default property should be _id instead of id. In Mongo API, id doesn't have any special meaning while _id does.

![image](https://user-images.githubusercontent.com/11728456/127709860-d2258d8f-3067-4506-b9e8-6ecb4f69f553.png)

Contributor guide

Open the contributing guide

Research direction

Start in the Data Explorer document-creation flow described in the issue and locate where the default document property is initialized. Verify the Mongo API behavior, then confirm that newly created documents use _id rather than id and that the UI still displays and saves them correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, typescript
Domain
databases, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.