Skip to content

Name of parent field in serialization #187

@enikao

Description

@enikao

In #186, we decided that parent is the inverse of either children or annotations.

What would be a good name for that field?

Alternative A: "parent"

Pro:

  • Established for tree structures

Con:

  • Might be confusing, as it's commonly understood as the inverse of "children"

Alternative B: "container"

Pro:

  • Generic enough to encompass inverse of both children or annotations

Con:

  • Easy to confuse with M3 "Containment" (constant issue in EMF Ecore)

Alternative C: "owner"

Pro:

  • Generic enough to encompass inverse of both children or annotations

Con:

Decision on 2029-09-29: Alternative A: "parent".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions