-
-
Notifications
You must be signed in to change notification settings - Fork 745
Open
Description
While migrating from Eve 1.0.0 to 1.0.1, we are seeing unexpected result with query_objectid_as_string and versioning
Expected Behavior
if query_objectid_as_string is set to true, mongo queries should not be cast as ObjectID
{ find: "string_id_accounts", filter: { _id: 'xxx' }
Actual Behavior
if query_objectid_as_string is set to true, mongo queries are cast as ObjectID
{ find: "string_id_accounts", filter: { _id: ObjectId('xxx') }
Environment
- Python version: >=3.6
- Eve version: >= 1.0.1
POC
Metadata
Metadata
Assignees
Labels
No labels