Skip to content

feat: auto-suffix organization slug when omitted and taken - #465

Merged
EmmanuelOchaje merged 1 commit into
StellarTickets:mainfrom
Open-source-contribution-by-alfie:feat/org-slug-auto-suffix
Oct 18, 2026
Merged

EmmanuelOchaje merged 1 commit into
StellarTickets:mainfrom
Open-source-contribution-by-alfie:feat/org-slug-auto-suffix

Conversation

@alfeedrips

Copy link
Copy Markdown
Contributor

slug is now optional on CreateOrganizationDto. When omitted, it is derived from the organization name and, if already taken, suffixed deterministically with the lowest free -2, -3, ... so same-name organizations no longer fail with a conflict. An explicitly supplied slug that is taken still returns 409.

Summary

Testing

  • npx tsc --noEmit passes
  • npx eslint "src/**/*.ts" passes
  • npm test passes
  • npm run build succeeds

Closes #83
Closes #77
Closes #75
Closes #73

`slug` is now optional on CreateOrganizationDto. When omitted, it is derived
from the organization name and, if already taken, suffixed deterministically
with the lowest free `-2`, `-3`, ... so same-name organizations no longer
fail with a conflict. An explicitly supplied slug that is taken still
returns 409.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@alfeedrips Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@netlify

netlify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stellarticketsbackend ready!

Name Link
🔨 Latest commit b866344
🔍 Latest deploy log https://app.netlify.com/projects/stellarticketsbackend/deploys/6ad49cf2d535565a4eca4921
😎 Deploy Preview https://deploy-preview-465--stellarticketsbackend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@EmmanuelOchaje
EmmanuelOchaje merged commit 4ead8fd into StellarTickets:main Oct 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants