Problem/Motivation

Across the three sites there are 74 distinct structure builders — methods that turn an entity into a piece of the response. Which of them become field shapes in the core, which become generated card structures, and which stay handwritten decides how much of the shape library and of the paragraph work there actually is. Right now the number is an estimate and the split is a guess.

Proposed resolution

  • List all 74 with their site, their signature and what they return.
  • Sort each into one of three buckets: primitive (a field type rendered a certain way — goes to the shape library), card (a bundle rendered as a nested item — becomes a generated structure), domain (computes something — stays handwritten and gets an extension point).
  • Count the buckets and publish the numbers, replacing the estimates that are in use now.
  • Where two sites have the same builder with different behaviour, note the difference; that is a decision to make later, not a merge to do now.

Remaining tasks

Everything. Research task; its output is the backlog of the shape library and of the paragraph work.

Issue fork myrest-3619191

Command icon Show commands

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

sergeydruua created an issue. See original summary.

  • sergeydruua committed 63cfef8b on 1.0.x
    Issue #3619191: Document the three classes a structure builder falls...
sergeydruua’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergeydruua’s picture

Status: Fixed » Closed (fixed)