Skip to content

fix(rust): apply consistent pascalcase naming for nested types#3548

Open
utafrali wants to merge 1 commit intoapache:mainfrom
utafrali:fix/issue-3547-rust-generator-emits-conflicting-module-
Open

fix(rust): apply consistent pascalcase naming for nested types#3548
utafrali wants to merge 1 commit intoapache:mainfrom
utafrali:fix/issue-3547-rust-generator-emits-conflicting-module-

Conversation

@utafrali
Copy link
Copy Markdown
Contributor

Why?

Rust generator was creating naming conflicts for nested types where module paths and struct names could collide and cause compilation errors.

What does this PR do?

Applies consistent PascalCase naming to type names when resolving nested type references and building struct definitions. Added tests for nested type scenarios.

Related issues

Fixes #3547

AI Contribution Checklist (if applicable)

N/A

Does this PR introduce any user-facing change?

Yes, code that previously failed to compile due to naming conflicts will now generate valid Rust code.

Benchmark (if perf-related)

N/A

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

Successfully merging this pull request may close these issues.

Rust generator emits conflicting module and struct names for messages with nested types

1 participant