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
413 stars 65 forks source link

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

Closed glacierck closed 6 months ago

glacierck commented 1 year 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 1 year ago

We will check the way to make it optional.

CodeVoyager commented 8 months ago

Hi @glacierck

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

cyp3rius commented 6 months ago

Release v2.3.0 contain this feature.