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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was following the documentation about using UUIDs as the _id field (https://docs.python-eve.org/en/stable/tutorials/custom_idfields.html). I followed the instructions and kept receiving an error back saying:
{"_id": "must be of uuid type"}
The issues was caused by _validate_type_uuid method not returning a value. Adding return True fixed it.
The other type validators all return True on success (https://github.com/pyeve/eve/blob/master/eve/io/mongo/validation.py#L220).
The text was updated successfully, but these errors were encountered:
4548c5c
thanks for reporting this.
Sorry, something went wrong.
No branches or pull requests
I was following the documentation about using UUIDs as the _id field (https://docs.python-eve.org/en/stable/tutorials/custom_idfields.html). I followed the instructions and kept receiving an error back saying:
{"_id": "must be of uuid type"}
The issues was caused by _validate_type_uuid method not returning a value. Adding return True fixed it.
The other type validators all return True on success (https://github.com/pyeve/eve/blob/master/eve/io/mongo/validation.py#L220).
The text was updated successfully, but these errors were encountered: