Feature Request
Is your feature request related to a problem or an unsupported use case? Please describe.
The public BaseDataBackend.settings instance attribute can be modified after backend instantiation.
However, once the backend instantiates its client property, any changes to settings do not update client.
Describe the solution you'd like
If changing a backend settings attribute after instantiation is a common use case, I think we should track its state from the client property and update client in case of a change.
Describe alternatives you've considered
Alternatively, we could make settings a "read-only" instance attribute to clarify that modifying it might not have the desired impact).
Or we could improve our documentation, explaining data backend behavior when settings is modified.
Discovery, Documentation, Adoption, Migration Strategy
No major impact.
Do you want to work on it through a Pull Request?
Yes, sure, once a consensus is reached on the desired behavior.
Note
Thanks to @Leobouloc for pointing out this issue in #524 (comment)_
Feature Request
Is your feature request related to a problem or an unsupported use case? Please describe.
The public
BaseDataBackend.settingsinstance attribute can be modified after backend instantiation.However, once the backend instantiates its
clientproperty, any changes tosettingsdo not updateclient.Describe the solution you'd like
If changing a backend
settingsattribute after instantiation is a common use case, I think we should track its state from theclientproperty and updateclientin case of a change.Describe alternatives you've considered
Alternatively, we could make
settingsa "read-only" instance attribute to clarify that modifying it might not have the desired impact).Or we could improve our documentation, explaining data backend behavior when
settingsis modified.Discovery, Documentation, Adoption, Migration Strategy
No major impact.
Do you want to work on it through a Pull Request?
Yes, sure, once a consensus is reached on the desired behavior.
Note
Thanks to @Leobouloc for pointing out this issue in #524 (comment)_