Can you show configuration of your attributs ?
Are you on cloud or self hosted ?
Cloud
I think this is a bug on Appwrite's side
I am passing 56 to breadth which needs Double value
It is failing then
But if I pass 56.5 to breadth, it will pass
Yes, to query float type on cloud, you need to pass float
It's fix with new version (wich isn't already on cloud)
Yes, in JavaScript every number is float by default
Will passing string work?
Nope
Yes tried it
didnt work
then try passing 56.0 and see if it works
Not possible in JavaScript
um is that so? i don't think i've faced any issues with .0 ๐ค
see I am storing these values in a variable, if there is 56.0 value, JavaScript will automatically turn it into 56
I mean I might be wrong.
Why don't you pass a string like Number('56.0') or something
Not sure why this is happening tbh
I'm gonna test this on my end
Okay, but you can't pass string as well. I tested that
It's a bug that needs to be solved
Are you on cloud?
yes
Recommended threads
- SSL Certificate Failure - Using Appwrite...
When we attempt to apply our custom domain to our appwrite site, we consistently receive the following error. [23:44:49] Processing SSL certificate issuance. ...
- [Self-hosted] Realtime crashes with "Mis...
- Regarding Rate Limits
Hello, I am a student engineer who built an internal website for my university club using AppWrite. My club currently has around 500 members, and when I recent...