Revert "Make subdomain minimum length configurable via env var" (#23871)

Instead, reduce the subdomain minimum length to 1 char

<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/23871?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
This commit is contained in:
Marie
2026-08-07 12:27:00 +02:00
committed by GitHub
parent 47f82b9121
commit 4dbaafc65d
27 changed files with 214 additions and 312 deletions
@@ -1989,7 +1989,7 @@ type ClientConfig {
isMultiWorkspaceEnabled: Boolean!
isEmailVerificationRequired: Boolean!
defaultSubdomain: String
subdomainMinLength: Float!
subdomainMinLength: Float! @deprecated(reason: "Subdomain minimum length is no longer configurable; kept one release for API compatibility, no longer read by the frontend.")
frontDomain: String!
publicFunctionDomain: String
analyticsEnabled: Boolean!
@@ -1626,6 +1626,7 @@ export interface ClientConfig {
isMultiWorkspaceEnabled: Scalars['Boolean']
isEmailVerificationRequired: Scalars['Boolean']
defaultSubdomain?: Scalars['String']
/** @deprecated Subdomain minimum length is no longer configurable; kept one release for API compatibility, no longer read by the frontend. */
subdomainMinLength: Scalars['Float']
frontDomain: Scalars['String']
publicFunctionDomain?: Scalars['String']
@@ -4895,6 +4896,7 @@ export interface ClientConfigGenqlSelection{
isMultiWorkspaceEnabled?: boolean | number
isEmailVerificationRequired?: boolean | number
defaultSubdomain?: boolean | number
/** @deprecated Subdomain minimum length is no longer configurable; kept one release for API compatibility, no longer read by the frontend. */
subdomainMinLength?: boolean | number
frontDomain?: boolean | number
publicFunctionDomain?: boolean | number