-
Notifications
You must be signed in to change notification settings - Fork 313
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
Move REST API endpoints to controllers #3648
Comments
To discuss:
|
Proceed with putting controllers in REST directory. Rename some endpoints to be feature-agnostic, keep old routes for backwards compatibility. |
@felipeelia I’m trying to resolve failing tests with the PR #3650, but I’m getting an unexpected error when syncing. Syncing is failing because there’s an error output in the response:
The relevant line is here: ElasticPress/includes/classes/Indexable.php Line 1208 in cfced10
But I don’t see anything in the PR that would mess with that: https://github.com/10up/ElasticPress/pull/3650/files |
@JakePT That happens because ps.: Adding |
Closed by #3650 |
Is your enhancement related to a problem? Please describe.
Following #3643 we should move our other REST API endpoints into their own controllers, for better separation of concerns.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: