Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: kebab-cases type names not correctly converted to PascalCase #1244

Merged
merged 1 commit into from
Nov 16, 2023

Commits on Nov 7, 2023

  1. feat: Properly convert kebab-cases types to PascalCase

    In kebab-case, the dash character is supposed to separate words, which is currently not reflected in
    `normalizeTypeName`. Currently, kebab-cased type names like "name-type" are converted to "Nametype" instead of more
    expected "NameType". This patch adds a pre-processing step which handles kebab-case first.
    
    Signed-off-by: Nikolai Prokoschenko <nikolai.prokoschenko@kurzdigital.com>
    rassie committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    1fdd493 View commit details
    Browse the repository at this point in the history