Categories:
Outgoing channelData Normalizer middleware
Description of outgoing-channeldata-normalizer-middleware, in charge of making the channelData conversion to the normalized version
Description
The outgoing-channeldata-normalizer-middleware transforms the outgoing channelData property of the Aura request-response model returned by the dialogs to the normalized version (if isn’t yet) to be read and modified if needed by outgoing dialogs (that work in normalized version).
AURA_CHANNELDATA_VALIDATION should be true and the dialog’s channelData version from dialogSettings.channelDataVersion should be lower than AURA_CHANNELDATA_CURRENT_VERSION to make the conversion. The conversion to original version again will be done in the Aura BotFramework adapter.
The source code of this middleware is included in Aura Bot Platform middlewares - Github repository.