Preliminary Checks
Reproduction
NA
Publishable key
NA
Description
The TS type of slug in Organization doesn't match the OpenAPI Schema or other statically typed languages. In TypeScript we have
export declare class Organization {
readonly slug: string | null;
// ...
}
whereas in the OpenAPI Schema slug is listed as required, as well as in the Go, Java, and C# SDKs slug isn't optional,
Environment
System:
OS: macOS 15.4
CPU: (12) arm64 Apple M2 Max
Memory: 388.69 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/.volta/tools/image/node/18.16.0/bin/node
npm: 9.5.1 - ~/.volta/tools/image/node/18.16.0/bin/npm
pnpm: 9.7.1 - ~/.volta/bin/pnpm
bun: 1.2.0 - ~/.bun/bin/bun
Browsers:
Chrome: 135.0.7049.85
Safari: 18.4
npmPackages:
@clerk/backend: 1.28.0 => 1.28.0
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
NA
Publishable key
NA
Description
The TS type of
sluginOrganizationdoesn't match the OpenAPI Schema or other statically typed languages. In TypeScript we havewhereas in the OpenAPI Schema
slugis listed asrequired, as well as in the Go, Java, and C# SDKsslugisn't optional,Environment
System: OS: macOS 15.4 CPU: (12) arm64 Apple M2 Max Memory: 388.69 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - ~/.volta/tools/image/node/18.16.0/bin/node npm: 9.5.1 - ~/.volta/tools/image/node/18.16.0/bin/npm pnpm: 9.7.1 - ~/.volta/bin/pnpm bun: 1.2.0 - ~/.bun/bin/bun Browsers: Chrome: 135.0.7049.85 Safari: 18.4 npmPackages: @clerk/backend: 1.28.0 => 1.28.0