Skip to content

The TS type of slug in Organization doesn't match the docs #5634

Description

@wolfadex

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions