Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2026 at 06:40 UTC
Updated:
6 Aug 2026 at 08:19 UTC
Jump to comment: Most recent
The module exposes myrest.helper and other services as concrete classes with no interfaces. Drupal.org best practice is to type-hint against interfaces so that consumers can decorate or swap implementations, and so that unit tests can mock them cleanly.
MyrestHelperInterface and interfaces for every service extracted in the service-split task.@internal where appropriate.Create interfaces, move docblocks to them, and update all type hints.
None.
New public interfaces define the supported API surface.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
sergeydruua commentedComment #5
sergeydruua commented