Skip to content

Specify requisite identifiers on plugins #27

@joel99

Description

@joel99

Plugins that use individual identifiers (e.g. email, sms) should specify so with a target() function and a needs attribute that specifies which identifier they want (e.g. email addresses, phone numbers) as a string. target will take an array of needed identifiers provided by the server and adjust plugin config accordingly. When sendMessage is called on the plugin, it should check if config has target info, and dispatch notification to all targets, otherwise have default behavior. Fail appropriately if target is called with invalid values.

Part of #13 epic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions