We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeFloat.fromMap(json)
xdefault: map['default']?.toDouble()
AttributeFloat.fromMap
database.createFloatAttribute(collectionId: <the_collection_id>, key: attributeFloat.key, xrequired: attributeFloat.xrequired, min: attributeFloat.min.toString(), max: attributeFloat.max.toString(), xdefault: attributeFloat.xdefault.toString(), array: attributeFloat.array);
Creating the correct attribute with min and max values
AppwriteException: Invalid min: Value must be a valid float (400) Attribute doesn't get created correctly
Version 0.12.1.201
Linux
The text was updated successfully, but these errors were encountered:
Should be fixed on dart_appwrite: 4.0.2
dart_appwrite: 4.0.2
Sorry, something went wrong.
No branches or pull requests
馃憻 Reproduction steps
AttributeFloat.fromMap(json)
(Bug 馃悰 Bug Report: createFloatAttribute() 'toDouble' was called on null.聽#16 needs to be fixed), but simple workaround is addingxdefault: map['default']?.toDouble()
inAttributeFloat.fromMap
database.createFloatAttribute(collectionId: <the_collection_id>, key: attributeFloat.key, xrequired: attributeFloat.xrequired, min: attributeFloat.min.toString(), max: attributeFloat.max.toString(), xdefault: attributeFloat.xdefault.toString(), array: attributeFloat.array);
馃憤 Expected behavior
Creating the correct attribute with min and max values
馃憥 Actual Behavior
AppwriteException: Invalid min: Value must be a valid float (400)
Attribute doesn't get created correctly
馃幉 Appwrite version
Version 0.12.1.201
馃捇 Operating system
Linux
馃П Your Environment
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: