This attribute must only be applied to properties of string or DocumentReference.
This attribute is ignored when serializing a document to Firestore.
This attribute must not be applied on a property which also has FirestorePropertyAttribute.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFirestoreDocumentIdAttribute\u003c/code\u003e is used to mark a property that should be automatically populated with the Firestore document ID.\u003c/p\u003e\n"],["\u003cp\u003eThis attribute can only be applied to properties of type string or \u003ccode\u003eDocumentReference\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirestoreDocumentIdAttribute\u003c/code\u003e is only effective when reading data from Firestore and is ignored during serialization to Firestore.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirestoreDocumentIdAttribute\u003c/code\u003e should not be used on a property that also has a \u003ccode\u003eFirestorePropertyAttribute\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Firestore API is 3.10.0, while this page is referencing version 3.4.0, and it also provides links to other versions ranging from 2.3.1 to 3.9.0.\u003c/p\u003e\n"]]],[],null,[]]