Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2026 at 10:14 UTC
Updated:
3 Sep 2026 at 10:47 UTC
Jump to comment: Most recent
The single most common endpoint — one entity of one bundle, rendered in full — is written by hand once per bundle per site today. In the target architecture it is a base class holding all the behaviour, with a generated subclass that declares three things: the structure, the breadcrumb trail and the counter field.
MyrestEntityDetailResourceBase: load by id or by alias, check access, resolve the translation, build through the structure, attach cache metadata, wrap in the envelope, handle the not-found and access-denied cases through the existing error envelope.Everything.
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