xogroup/toki

Allow for optional "options" to be passed for an action config

Closed this issue · 0 comments

Context

  • Each action configuration should allow for an optional untyped options object to be passed through. Because we are making action plugins first class citizens and exporting the functionality of http actions to be a function of toki-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 by toki core and the responsibility of that is on the onus of the plugin itself.