Skip to content

Conversation

nemanjan00
Copy link

No description provided.

@alwint3r
Copy link
Member

alwint3r commented Jun 24, 2019

I think this is not a clean way to handle convert the search value for _id that has ObjectID type.

Alternatively, you can add a check whether the value complies with ObjectID format, then you can convert the string to ObjectID object and then return it from function parseSearchValue at lib/column.js file.

@nemanjan00
Copy link
Author

What if value is in ObjectID format, but, is not ObjectID, but string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants