Optional Values for Ints, Booleans, Doubles

I am working with a new class that I am storing as a Backendless data object. My initial class definition used optionals for Ints, Booleans and Doubles. I then set these values in an initializer. However, the values never populated at Backendless.

If I set the initial values then the values set in the initializer method did populate at Backendless. I am not sure this is a Backendless requirement or if this is a Swift requirement. Is there a reason you cannot use optionals for the class properties with these data types?

Hi, Jon.
Backendless does not support Optional fields for storing objects as Backendless Data object fields (and we did not mention this in our documentation).

Perfect. Thanks for the quick response Anatolii.