Closed joshuachp closed 5 months ago
From the first version v0.5 the consumer purge property is deleting all the stored props and not only the server owned.
https://github.com/astarte-platform/astarte-device-sdk-rust/blob/d7f9c55bde3e657aacfe7b2cfa2e3e9f220ecb60/src/lib.rs#L515-L518
Here we must filter for only server props. I would also rename the function in purge_server_props to be more understandable.
Fixed in #342
From the first version v0.5 the consumer purge property is deleting all the stored props and not only the server owned.
https://github.com/astarte-platform/astarte-device-sdk-rust/blob/d7f9c55bde3e657aacfe7b2cfa2e3e9f220ecb60/src/lib.rs#L515-L518
Here we must filter for only server props. I would also rename the function in purge_server_props to be more understandable.