Allow for optional "options" to be passed for an action config
Closed this issue · 0 comments
lamchakchan commented
Context
- Each
action
configuration should allow for an optional untypedoptions
object to be passed through. Because we are makingaction
plugins first class citizens and exporting the functionality of http actions to be a function oftoki-method-http
, the options needs to be passed with the routes and action verbs associated to that action along with even customizable templated payloads. - Documentation needs to be specific that this optional untyped
options
object is not validated bytoki
core and the responsibility of that is on the onus of the plugin itself.