Skip to content
Snippets Groups Projects
  • Malte Bauch's avatar
    bb8079c7
    Resolve "The model stored in the plugin is increasing in size" · bb8079c7
    Malte Bauch authored
    This commit makes sure that the stored model data is only unmarshalled
    if the plugin is newly created. Otherwise we assume that the plugin
    represents the intended state (this is only temporary and will be
    changed in the future). Requesting configuration data directly from the
    device will now only pass that information through. Only changes
    triggered through the controller itself will be persisted.
    
    Additionally the handling of a subscribe response has been changed so
    the data is not unmarshalled into the plugins model data.
    bb8079c7
    History
    Resolve "The model stored in the plugin is increasing in size"
    Malte Bauch authored
    This commit makes sure that the stored model data is only unmarshalled
    if the plugin is newly created. Otherwise we assume that the plugin
    represents the intended state (this is only temporary and will be
    changed in the future). Requesting configuration data directly from the
    device will now only pass that information through. Only changes
    triggered through the controller itself will be persisted.
    
    Additionally the handling of a subscribe response has been changed so
    the data is not unmarshalled into the plugins model data.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.