Skip to content

Move SparseField implementations out of endpoint module #184

Open
@oguzkocer

Description

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.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions