Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware: use model for more generic set and validation #4881
We do have to jump through a few hoops to make this work. First and foremost during validation the model should have a "cleansed" view of its data which means we add the subscription as a separate field and append it to the mirror after validation. It might be good to straighten this out later, also in the get path so that we can hide all required translation in the controller until we can move this to a standard GUI component and straighten out the mirror read on the other end when subscriptions are required (but currently no appended).
- Loading branch information
Showing
6 changed files
with
155 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.