integreat-io / integreat

Node.js integration layer
Other
14 stars 3 forks source link

Consider if we need the internal dispatch in middleware and action handlers #218

Closed kjellmorten closed 1 year ago

kjellmorten commented 1 year ago

The internal dispatch expects an action and returns an action with response on the action. Would it suffice to use the regular dispatch type that expects an action and returns a response?