Skip to content

Missing documentEdition task type #3255

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

Open
Strift opened this issue May 14, 2025 · 2 comments · May be fixed by #3257
Open

Missing documentEdition task type #3255

Strift opened this issue May 14, 2025 · 2 comments · May be fixed by #3257
Milestone

Comments

@Strift
Copy link
Contributor

Strift commented May 14, 2025

The documentEdition task type is not documented in the API reference: https://www.meilisearch.com/docs/reference/api/tasks#type

However, it appears the API can return it, as evidenced in these PHP SDK tests. Here why the test is failing:

  • The SDK calls the "update documents by function" API
  • The API returns a task with the documentEdition type
  • Because the documentEdition type is not expected (we designed the SDK based on the docs), it throws an error
@irevoire
Copy link
Member

Good to note also that this type can only be returned when the experimental feature has been enabled

@guimachiavelli
Copy link
Member

Thanks for opening this issue. I'll sneak it in with the v1.15 updates, since I'm already adding another task type.

@guimachiavelli guimachiavelli added this to the v1.15 milestone May 15, 2025
@guimachiavelli guimachiavelli linked a pull request May 19, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants