Skip to content

Investigate Changing Recipe Registration #74

@starcraftman

Description

@starcraftman

Current recipe database model is:

  • Folder has bunch of recipes.
  • Import every one and scan for first Recipe subclass and index it.

A better idea I think is:

  • Folder has a bunch of recipes.
  • Each recipes has 1 or more recipes.
  • Each recipe is decorated by a decorator of form:
  • Class decorator could handle the common manipulations/decorations of the build/verify methods.
@RegisterRecipe
class Ag(Recipe):
....

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions