Skip to content

docs(_bulk-helpers): customer/bulk now uses the factory — drop stale callout#250

Merged
CryptoJones merged 1 commit into
masterfrom
docs/bulk-helpers-customer-already-migrated
May 19, 2026
Merged

docs(_bulk-helpers): customer/bulk now uses the factory — drop stale callout#250
CryptoJones merged 1 commit into
masterfrom
docs/bulk-helpers-customer-already-migrated

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

The JSDoc on _bulk-helpers.js said "Customer's bulkCreate predates this helper... a follow-up should consolidate them." That follow-up landed; Customer already uses makeBulkCreate. Update the comment to match reality (and bump "5 near-identical controllers" to 6).

Test plan

  • npm run lint clean
  • npm test — 688 passed (comment-only change)

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

…"predates" callout

The header JSDoc on \`_bulk-helpers.js\` said:

  "Customer's bulkCreate predates this helper and has the same shape
   baked in; we don't migrate it here to keep the diff focused on the
   new endpoints (P3-H), but a follow-up should consolidate them."

That follow-up landed; \`customercontroller.js\` now exports
\`bulkCreate = makeBulkCreate({ ... })\` like every other bulk-direct
endpoint, and Customer is among the 6 entities the factory serves.
The "5 near-identical controllers it replaces" line was also off by
one for the same reason.

Update both lines to match reality: 6 entities use the factory,
Customer was migrated in a follow-up after the original P3-H rollout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit f577c19 into master May 19, 2026
3 checks passed
@CryptoJones CryptoJones deleted the docs/bulk-helpers-customer-already-migrated branch May 19, 2026 12:33
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.

1 participant