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

propertyNameOverride overrides my casing for the identifier #1467

Open
richardpark-msft opened this issue Nov 18, 2024 · 1 comment
Open
Assignees
Milestone

Comments

@richardpark-msft
Copy link
Member

I do some renaming of types that I need to swap out or customize. One of the renames I do is rename the type so it's not exposed:

code

@@clientName(AcsMessageChannelEventError,
  "internalACSMessageChannelEventError",
  "go"
);
@@access(AcsMessageChannelEventError, Access.internal, "go");

typespec-go currently generates this as 'InternalACSMessageChannelEventError` (note the capital 'I'), but prior to my latest dependency update, used to generate with a lowercase 'i'.

My dependencies are below:

//old
    "@azure-tools/typespec-azure-core": "^0.45.0",
    "@azure-tools/typespec-client-generator-core": "^0.45.2",
    "@azure-tools/typespec-go": "^0.3.1",
    "@typespec/compiler": "^0.59.1",
    "@typespec/versioning": "^0.59.0",


// new
    "@azure-tools/typespec-azure-core": "0.48.0",
    "@azure-tools/typespec-client-generator-core": "0.48.1",
    "@azure-tools/typespec-go": "^0.3.2",
    "@typespec/compiler": "0.62.0",
    "@typespec/versioning": "0.62.0",
@richardpark-msft
Copy link
Member Author

(assigning to Joel for now, but we can always move it to someone else if we get a new person)

@RickWinter RickWinter added this to the 2025-04 milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants