Jump to:

Problem/Motivation

Provide a generic implementation for using YAML as a form of discovery alongside other discovery mechanisms.

Proposed resolution

Add a YAML Discovery decorator, so this can be used with other discovery mechanisms. For example, 'static' plugins can be declared in yaml but custom implementations can still be declared via annotations.

Based on long-winded discussion in IRC: This class and the underlying YAML plugin discovery are very generic and in most cases need to be extended to provide better checks on the classes or data found in the YAML files.

Revising dawehner's suggested code comment since he's busy on another issue and setting back to rtbc.