-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMM Idea: Overlays - introduce easy solution to add keys to multiple signals #193
Comments
hi @erikbosch can you elaborate a bit on this? Do you already have sth in mind how a signal like this would be defined? |
Hi @nwesem - I will try to explain some ideas that I had at that time. The problem as of today is that you need quite many lines to change a signals, like using Vehicle.Service.TimeToService:
type: sensor
datatype: int32
delete: true (Parts of it is due to tool limitations, that we for instance require
|
I've been trying to come up with a way to solve this, but you are right the way the overlays are currently loaded (just like any vspec using To me this seems like a two step process:
What if we defined an additional way of integrating overlays in a currently loaded tree by checking if all signals have datatype and type or not. If they don't provide datatype and type we assert that all defined signals in the overlay already exist in the currently loaded tree. If all signals defined in the overlay already exist, we can change only the data defined in the overlay. But that also means that we would have to deal with two types of overlays from now on. Is there a better way to solve this? Please let me know what you think @erikbosch @adobekan |
Idea collected during AMM. In some cases you might want to add the same key/property to a large number of signals, e.g. add something like "included: true" to a large number of signals. A "shortcut" solution for doing this could be useful
The text was updated successfully, but these errors were encountered: