Support ObjectId in documents.#38
Support ObjectId in documents.#38soldag wants to merge 1 commit intoholidayextras:masterfrom soldag:master
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.