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

entityService parameter documentation should include 'locale' #2110

Open
bart-iimpcoll opened this issue May 14, 2024 · 1 comment
Open

entityService parameter documentation should include 'locale' #2110

bart-iimpcoll opened this issue May 14, 2024 · 1 comment
Assignees

Comments

@bart-iimpcoll
Copy link

Link to the documentation page or resource

https://docs.strapi.io/dev-docs/api/entity-service/crud

Describe the bug

On the page https://docs.strapi.io/dev-docs/api/entity-service/crud are only fields and filters and populate mentioned. There is a parameter 'locale' that I needed to use to retrieve non-default entries, but it's not mentioned anywhere in the entityService documentation as far as I can tell. I found it by trial and error.

Additional context

No response

Suggested improvements or fixes

Please add all possible entityService parameters to the documentation to make it easier for others to use

Related issue(s)/PR(s)

No response

@pwizla
Copy link
Collaborator

pwizla commented Jun 28, 2024

Thanks for the suggestion, @bart-iimpcoll.
We'll see what we can do. Right now we are focused on polishing Strapi 5 documentation.

I would, by the way, recommend that you prepare yourself to transition to the Document Service API which will replace the Entity Service API in Strapi 5.

See https://docs-next.strapi.io/dev-docs/api/document-service for more details. You will be happy to notice that use cases with locale are much more extensively documented with the Document Service API 😊

@pwizla pwizla self-assigned this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants