Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
glacierck opened this issue Nov 15, 2023 · 2 comments
Open
Assignees
Labels
backlog enhancement New feature or request feature request Community feature request in progress v4 Strapi v4

Comments

@glacierck
Copy link

glacierck commented Nov 15, 2023

/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
Copy link
Collaborator

We will check the way to make it optional.

@cyp3rius cyp3rius added enhancement New feature or request investigation Issue under investigation feature request Community feature request backlog v4 Strapi v4 labels Nov 15, 2023
@cyp3rius cyp3rius changed the title How to remove ’related‘ from the returned result [#86934hnmg] How to remove ’related‘ from the returned result Nov 15, 2023
@cyp3rius cyp3rius changed the title [#86934hnmg] How to remove ’related‘ from the returned result [CU-86934hnmg] How to remove ’related‘ from the returned result Nov 15, 2023
@CodeVoyager CodeVoyager added in progress and removed investigation Issue under investigation labels Mar 9, 2024
@CodeVoyager
Copy link
Contributor

Hi @glacierck

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request feature request Community feature request in progress v4 Strapi v4
Projects
None yet
Development

No branches or pull requests

3 participants