Skip to content

Conversation

durran
Copy link
Member

@durran durran commented Nov 11, 2016

There are several areas where we duplicate keys in the document list when the documents do not have an _id field, since the React component is basing its key off _id. Since we cannot guarantee that documents will always have an _id (example readonly views, oplog, etc) we generate a UUID instead for the React component key.

@imlucas imlucas changed the title Use uuids for document list keys. COMPASS-134: Use uuids for document list keys. Nov 11, 2016
@imlucas
Copy link
Contributor

imlucas commented Nov 11, 2016

lgtm

@imlucas imlucas merged commit 08b36ea into master Nov 11, 2016
@imlucas imlucas deleted the uuid-keys branch November 11, 2016 22:18
@imlucas
Copy link
Contributor

imlucas commented Nov 11, 2016

Backported to 1.5-releases

@imlucas imlucas self-assigned this Nov 14, 2016
@imlucas imlucas added this to the 1.5 milestone Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants