Skip to content

Conversation

@InosRahul
Copy link
Contributor

No description provided.

Copy link
Contributor

@miguelcalderon miguelcalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


annotations.forEach(async (annotation: Annotation) => {
const updatedAnnotation = annotation.set("noView", annotationsHidden);
await instance.update(updatedAnnotation);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optionally you could persist the updated annotations in an array, and then call update() only once with all the updates.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added here: 311ff1c

Base automatically changed from rahul/add-types to master December 15, 2025 13:34
@InosRahul InosRahul merged commit d85d321 into master Dec 15, 2025
3 checks passed
@InosRahul InosRahul deleted the rahul/annotation-examples branch December 15, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants