mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
This fixes the issue where project names that are 100 characters long or longer would cause the project creation to fail. This is because the resulting ID would be longer than the 100 character limit imposed by the back end. We solve this by capping the project ID to 90 characters, which leaves us with 10 characters for the suffix, meaning you can have 1 billion projects (999,999,999 + 1) that start with the same 90 characters (after slugification) before anything breaks. It's a little shorter than what it strictly has to be (we could probably get around with 95 characters), but at this point, you're reaching into edge case territory anyway, and I'd rather have a little too much wiggle room here. |
||
---|---|---|
.. | ||
createProjectService.ts | ||
fake-project-flag-creators-read-model.ts | ||
fake-project-owners-read-model.ts | ||
project-applications.e2e.test.ts | ||
project-controller.ts | ||
project-flag-creators-read-model.ts | ||
project-flag-creators-read-model.type.ts | ||
project-flag-creators.e2e.test.ts | ||
project-owners-read-model.test.ts | ||
project-owners-read-model.ts | ||
project-owners-read-model.type.ts | ||
project-service.e2e.test.ts | ||
project-service.test.ts | ||
project-service.ts | ||
project-store-type.ts | ||
project-store.ts | ||
projects.e2e.test.ts |