Rank 4: Virtual Machine
Can you show configuration of your attributs ?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 4: Virtual Machine
Can you show configuration of your attributs ?
Rank 4: Virtual Machine
Are you on cloud or self hosted ?
Rank 2: Process
Cloud
Rank 2: Process
I think this is a bug on Appwrite's side
Rank 2: Process
I am passing 56 to breadth which needs Double value
Rank 2: Process
It is failing then
Rank 2: Process
But if I pass 56.5 to breadth, it will pass
Rank 4: Virtual Machine
Yes, to query float type on cloud, you need to pass float
Rank 4: Virtual Machine
It's fix with new version (wich isn't already on cloud)
Rank 2: Process
Yes, in JavaScript every number is float by default
Rank 2: Process
Will passing string work?
Rank 4: Virtual Machine
Nope
Rank 2: Process
Yes tried it
Rank 2: Process
didnt work
then try passing 56.0 and see if it works
Rank 2: Process
Not possible in JavaScript
um is that so? i don't think i've faced any issues with .0 🤔
Rank 2: Process
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
Rank 2: Process
Okay, but you can't pass string as well. I tested that
Rank 2: Process
It's a bug that needs to be solved
Are you on cloud?
Rank 2: Process
yes