You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOC-2587: Improve Comments documentation for mentionedUids validation (#3524)
* Admonition about known limitation of mentionedUids user validation
* Validate mentionedUids in each of the events
* Deep copy events to avoid modifying original event log data.
* Update modules/ROOT/partials/plugin-apis/comments-apis.adoc
Co-authored-by: Mitchell Crompton <[email protected]>
* Update modules/ROOT/partials/plugin-apis/comments-apis.adoc
Co-authored-by: Karl Kemister-Sheppard <[email protected]>
* Improve the sample user database
---------
Co-authored-by: Mitchell Crompton <[email protected]>
Co-authored-by: Karl Kemister-Sheppard <[email protected]>
Copy file name to clipboardExpand all lines: modules/ROOT/partials/plugin-apis/comments-apis.adoc
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,10 +118,37 @@ When the xref:mentions.adoc[Mentions] plugin is enabled, each of the above event
118
118
119
119
It is recommended to use this API to retrieve which users have been mentioned in comments.
120
120
121
+
[NOTE]
122
+
====
123
+
The `mentionedUids` array captures strings following the `@` symbol without verifying if they correspond to valid user IDs. It is the integrator's responsibility to validate these strings against the database to ensure they represent valid users.
124
+
125
+
For guidance on retrieving and verifying the `mentionedUids` array, refer to the xref:#example-using-geteventlog[getEventLog example].
0 commit comments