Skip to content

feat(backend): Add bulk create method for waitlist entries#7761

Merged
Jibaru merged 1 commit intomainfrom
irueda/user-1055-add-bulk-create-waitlist-entries-via-bapi
Feb 5, 2026
Merged

feat(backend): Add bulk create method for waitlist entries#7761
Jibaru merged 1 commit intomainfrom
irueda/user-1055-add-bulk-create-waitlist-entries-via-bapi

Conversation

@Jibaru
Copy link
Contributor

@Jibaru Jibaru commented Feb 4, 2026

Description

Implement createBulk() method in WaitlistEntryAPI to enable creating multiple waitlist entries in a single API call. This addresses the need for efficient batch operations when processing multiple waitlist entry requests.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features
    • Added bulk creation capability for waitlist entries, enabling multiple entries to be created in a single API call through the new createBulk() method.

Implement `createBulk()` method in WaitlistEntryAPI to enable creating
multiple waitlist entries in a single API call. This addresses the need
for efficient batch operations when processing multiple waitlist entry
requests.
@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Feb 4, 2026 4:34pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: 5c75ba8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@clerk/backend Minor
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Jibaru Jibaru requested a review from a team February 4, 2026 16:35
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 4, 2026

📝 Walkthrough

Walkthrough

Adds bulk creation support for waitlist entries in the backend API. Introduces a type alias for an array of create params and a new WaitlistEntryAPI.createBulk method that POSTs to the waitlist entries bulk endpoint and returns an array of WaitlistEntry objects. Includes a new test suite that mocks the bulk endpoint, validates the request body for multiple entries (including notify), and asserts full response fields for returned entries. Also adds a changeset indicating a minor release. Existing single-create and invite/reject/delete endpoints remain unchanged.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding a bulk create method for waitlist entries, which directly aligns with the primary modification in the changeset.
Linked Issues check ✅ Passed The pull request implements the bulk create method for waitlist entries as required by USER-1055, with appropriate API endpoint, type definitions, and comprehensive test coverage.
Out of Scope Changes check ✅ Passed All changes are directly related to implementing the bulk create functionality for waitlist entries; no unrelated modifications were introduced in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Important

Action Needed: IP Allowlist Update

If your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:

  • 136.113.208.247/32 (new)
  • 34.170.211.100/32
  • 35.222.179.152/32

Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 4, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7761

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7761

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7761

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7761

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7761

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7761

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@7761

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7761

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7761

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7761

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7761

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7761

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7761

@clerk/react

npm i https://pkg.pr.new/@clerk/react@7761

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7761

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7761

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7761

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7761

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@7761

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7761

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7761

commit: 5c75ba8

Copy link
Member

@wobsoriano wobsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@Jibaru Jibaru merged commit b66eb8d into main Feb 5, 2026
41 checks passed
@Jibaru Jibaru deleted the irueda/user-1055-add-bulk-create-waitlist-entries-via-bapi branch February 5, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants