transformMongoCustomer maps every _id field to customerId whenever the object does not already have customerId, including nested documents.
A payload like { _id: "c1", Meta: { _id: "inner", Label: "x" } } becomes { customerId: "c1", meta: { customerId: "inner", label: "x" } }. Nested Mongo ids (subdocuments, array items) should stay _id (or be left alone); only the root customer document should promote _id → customerId.
toCamelCase("_id") exists but is unreachable for these keys because the _id branch continues first.
Seen in projects/spikersoft/src/app/_services/marks-site/marks-customer/marks-customer.service.ts.
`transformMongoCustomer` maps every `_id` field to `customerId` whenever the object does not already have `customerId`, including nested documents.
A payload like `{ _id: "c1", Meta: { _id: "inner", Label: "x" } }` becomes `{ customerId: "c1", meta: { customerId: "inner", label: "x" } }`. Nested Mongo ids (subdocuments, array items) should stay `_id` (or be left alone); only the root customer document should promote `_id` → `customerId`.
`toCamelCase("_id")` exists but is unreachable for these keys because the `_id` branch `continue`s first.
Seen in `projects/spikersoft/src/app/_services/marks-site/marks-customer/marks-customer.service.ts`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
transformMongoCustomermaps every_idfield tocustomerIdwhenever the object does not already havecustomerId, including nested documents.A payload like
{ _id: "c1", Meta: { _id: "inner", Label: "x" } }becomes{ customerId: "c1", meta: { customerId: "inner", label: "x" } }. Nested Mongo ids (subdocuments, array items) should stay_id(or be left alone); only the root customer document should promote_id→customerId.toCamelCase("_id")exists but is unreachable for these keys because the_idbranchcontinues first.Seen in
projects/spikersoft/src/app/_services/marks-site/marks-customer/marks-customer.service.ts.Fixed in
spikersoft-angularPR #823 (a0f0ccd9). Closing.