Skip to content

[API Feature Request] Function property for an Extension Preference to validate the input #185

@moored

Description

@moored

Describe the feature and the current behavior/state.

Add the ability to define a function for a preference that will be called to validate the input value. This could be a new preference type or added to all of them. I feel this would be very useful for things such as external API tokens and would prevent the user from continuing to the extension that would fail if the token is incorrect.

Will this change the current api? How?

This is an addition and should be optional

Who will benefit with this feature?

Anyone that needs to have a valid preference value for the extension to run without error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssues related to APIfeature requestNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions