Skip to content

Symmetrize usage of Block and Strand objects #53

Open

Description

@kaifox

At the moment, the Block object contains an id + its content, while a strand contains only an id.
This makes it hard to simply use Block in class APIs (as it cannot easily be created).

To symmetrize APIs, we could consider

  • either rename Strand to StrandId and introduce another Object BlockId, which also only contains the id
  • Or rename the current Block to something like BlockContent and create a new Block object that only contains the id.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions