Skip to content

Refactor publishNextPost to reduce code duplication #12

@fernand0

Description

@fernand0

The publishNextPost method has common logic that is repeated in several modules. This logic
should be extracted into a generic method in moduleContent. The individual modules should
then only contain the code that is specific to their implementation.

Tasks:

  • Identify the common logic in the publishNextPost methods.
  • Create a generic publishNextPost method in moduleContent with the common logic.
  • Refactor the publishNextPost methods in the individual modules to use the new generic
    method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions