connectedhomeip icon indicating copy to clipboard operation
connectedhomeip copied to clipboard

Investigate removing `template <typename CommandData>` for `TryAddResponseData`

Open tehampson opened this issue 1 year ago • 0 comments

It should be possible to use a base class instead of the template "duck-typing" we are using when calling DataModel::Encode(*writer, TLV::ContextTag(CommandDataIB::Tag::kFields), aData).

This will help reduce code compiled code size as well as make code more readable in CommandHandler

Alternative Solution to still explore:

tehampson avatar Jan 23 '24 15:01 tehampson