Skip to content

Delegated Types for Content Module Items #107

Description

@A-Mozeak

Goal

  • Make an object that allows items of many forms to be attached to a ContentModule, with some shared behavior but different data.

Context

ContentModule has to be connected to multiple types of content. These could be Links, Games, Surveys, Attachments, Videos, etc.

As the constellation of content types expands, it will probably be helpful to manage them as a group when doing things like associating them with other models (e.g. ContentModule). This issue is a starting point to grow that capability.

AC

  • A name for the delegated type is agreed upon.
    • Attachable?
    • Contentable?
    • Something else?
  • The delegated type is defined using Rails convention.
  • ContentModule has_many of the delegated type.
  • Game and Link include the delegated type module.

Metadata

Metadata

Assignees

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