You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, settings are managed by a dictionary that's injected into a Thing when it attaches to a server. I think there are some improvements we could make.
Introduce a setting descriptor. This would make it simple to have a Property that's persisted in the settings file.
Allow settings to be specified in LabThings config files. This could either be as a default (i.e. set the setting in the file if it's not already set), an overwrite, or an instruction to lock the setting so it becomes read-only. I think there are a few use cases when that would be really helpful.
Construct a settings model for more reliable serialisation/deserialisation to/from JSON.
The text was updated successfully, but these errors were encountered:
Currently, settings are managed by a dictionary that's injected into a Thing when it attaches to a server. I think there are some improvements we could make.
The text was updated successfully, but these errors were encountered: