Drupal API Client Update: Extending Functionality
Brian Perry has recently provided an update on the development progress of Extending The Drupal API Client in a blog post. With a focus on creating a fully featured client for Drupal's JSON:API implementation, the project aims to enhance the capabilities of the API client through extensibility.
Implementing an ApiClient base class integrates functionality applicable to any API client, while JSON:API-specific features are added to the JsonApiClient class. One notable addition is the Decoupled Router support, showcased as a prime example of the library's extensibility. The latest release also introduces a getResourceByPath method, addressing common routing challenges. Despite ongoing improvements, the project is nearing its 1.0 release milestone.
Source Reference
Disclosure: This content is produced with the assistance of AI.