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
While finding a String which is actually an objectId, loopback-connector-mongodb converts it to ObjectId and then finds, which is perfect.
But while inserting, if a string is a foreign key and not an Id, it is not converted to ObjectId
What do you recommend? should we convert all the properties of regex /^[0-9a-fA-F]{24}$/ to objectId and then save
The text was updated successfully, but these errors were encountered:
@imonildoshi , saw your same question posted in loopbackio/loopback-next#2085 (comment). Should we use that thread to continue to discussion? Thanks.
Sorry, something went wrong.
Yes sure, let's do that
ok. let me close this issue then. Thanks.
dhmlau
No branches or pull requests
While finding a String which is actually an objectId, loopback-connector-mongodb converts it to ObjectId and then finds, which is perfect.
But while inserting, if a string is a foreign key and not an Id, it is not converted to ObjectId
What do you recommend? should we convert all the properties of regex /^[0-9a-fA-F]{24}$/ to objectId and then save
The text was updated successfully, but these errors were encountered: