strapi-plugin-comments icon indicating copy to clipboard operation
strapi-plugin-comments copied to clipboard

[CU-86934hnmg] How to remove ’related‘ from the returned result

Open glacierck opened this issue 1 year ago • 2 comments

/api/comments/api::article.article:1209/flat

I am searching for comment results under the article by Ids, but each result has a 'related' attribute. Is it necessary to constantly replay the article object?

glacierck avatar Nov 15 '23 05:11 glacierck

We will check the way to make it optional.

cyp3rius avatar Nov 15 '23 06:11 cyp3rius

Hi @glacierck

There's a PR addressing your query. Have a look, please.

CodeVoyager avatar Mar 16 '24 07:03 CodeVoyager

Release v2.3.0 contain this feature.

cyp3rius avatar May 29 '24 18:05 cyp3rius