Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2026 at 08:44 UTC
Updated:
7 Aug 2026 at 09:19 UTC
Jump to comment: Most recent
The codebase contains roughly 350 type hints against MyentityNodeInterface, MyentityTermInterface, MyentityParagraphInterface and related wrappers. This hard-couples myrest to the myentity module and prevents the module from being installed on a standard Drupal site.
ContentEntityInterface, NodeInterface, TermInterface, ParagraphInterface, FileInterface, MediaInterface, UserInterface.myentity wrappers into myrest itself or into an optional adapter.myentity:myentity from a hard dependency to an optional integration once the type hints are gone.Audit each wrapper method used, provide replacements, and update myrest.info.yml.
None.
Method signatures accept core entity interfaces. Existing myentity objects still satisfy them.
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 #4
sergeydruua commentedComment #6
sergeydruua commented