-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
Support ObjectId in documents. #38
base: master
Are you sure you want to change the base?
Conversation
@soldag did you ever get this working? I am running into an issue where I am populating data using |
Thank you for your contribution @soldag. I was looking at your PR in order to merge it, but then I remembered why we didn't use Are you using this patch successfully in production? I realise that Thoughts on this @soldag and @ju-Skinner? |
@pmcnr-hx I agree with your statement about I have come up with a makeshift way to import data manually and copying the Another thing to note about the |
@ju-Skinner: so if |
@pmcnr-hx No, because it doesn't overwrite anything that I import via the CLI. Which is why this PR doesn't really address my issue exactly. I learned this as I dug deeper into both this plugin and What this plugin and jsonapi-server don't address is existing data that uses just the core implementation of _id as an ObjectId. It fails for two reasons. 1.) They both are depending on a key (field) named |
The MongoStore can now be configured to store ids as ObjectId instead of binary UUID representation.