Int32 / Double validation on realm-web

I’m building a webapp with realm-web, and I have a Schema with some properties as Double. Everything is alright if I send the number with decimal places, but If i send a flat number like 10, I get a SchemaValidationFailedWrite Error. I don’t know if this is a realm-web issue or just the nature of javascript dealing with numbers… I need some help here

i was using the default types suggested by the “Generate Schema”, and I didn’t know there was a type “number”. It works fine now.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.