tvkitchen / appliances

A one stop shop for official TV Kitchen Appliances
GNU Lesser General Public License v3.0
3 stars 0 forks source link

Support dynamic input / output types #152

Closed slifty closed 2 years ago

slifty commented 2 years ago

This PR updates the AbstractAppliance's implementation of isValidPayload to pass the current instance's settings to the getInputTypes method. The settings might be ignored, but by passing them it becomes possible for an appliance author to accept different payload types depending on the appliance's settings.

(This change will also need to be made in the countertop)

Related to #151