VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
404 stars 63 forks source link

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

Closed glacierck closed 1 month ago

glacierck commented 7 months ago

/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?

cyp3rius commented 7 months ago

We will check the way to make it optional.

CodeVoyager commented 3 months ago

Hi @glacierck

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

cyp3rius commented 1 month ago

Release v2.3.0 contain this feature.