rossvideo / Catena

Other
4 stars 0 forks source link

C++ SDK does not prevent client from setting value with wrong type #160

Closed johndanenRV closed 1 month ago

johndanenRV commented 2 months ago

If a client sends a set value request with the wrong value type, then no error is thrown, and the value is set to 0.

For example, if param "/a_number" is an int32 value then the following request would set /a_number to 0. SetValue {"oid": "/a_number", "value": { "float32_value": 12}}