informatics-isi-edu / ermrestjs

ERMrest client library in JavaScript
Apache License 2.0
4 stars 3 forks source link

Modify comment related APIs #1000

Closed RFSH closed 10 months ago

RFSH commented 10 months ago

The main purpose of this PR is to add support for markdown in the raw value of comment APIs (#981). But instead of adding a separate commentRenderMarkdown, I changed .comment returned value to an object (similar to how .displayname works). This allows us also to remove .commentDisplay and have it as part of the object.

Other changes are,

Since I completely changed how the .comment API works in here, we have to merge this at the same time as the chaise one.