flattenObjectIds and UUID #14969
Answered
by
AbdelrahmanHafez
AaronPorts
asked this question in
Q&A
-
|
flattenObjectIds property converts ObjectID into string. Is there any possibility to extend this behavior to UUIDs? |
Beta Was this translation helpful? Give feedback.
Answered by
AbdelrahmanHafez
Feb 10, 2026
Replies: 1 comment 3 replies
-
|
It is possible. Tricky for TypeScript, but doable. What is your use case for converting UUIDs to strings? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AaronPorts
flattenUUIDsis added in 9.2. #15864Document#toJSONdocsDocument#toObjectdocs