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

Move SparseField implementations out of endpoint module #184

Open
oguzkocer opened this issue Jul 19, 2024 · 0 comments
Open

Move SparseField implementations out of endpoint module #184

oguzkocer opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@oguzkocer
Copy link
Contributor

SparseField implementations should be part of each individual type, as they are not related to endpoints.

  • Move wp_api::endpoint::macros::default_sparse_field_implementation_from_field_name! to root level
  • Move the callers of this macros out of endpoint module and into their relative modules. For example, out of users_endpoint module and into users module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant