Skip to content

fix(nlab-api): preserve enum owner names - #40

Merged
JacobZyy merged 1 commit into
mainfrom
codex/nlab-api-enum-owner-names
Aug 22, 2026
Merged

fix(nlab-api): preserve enum owner names#40
JacobZyy merged 1 commit into
mainfrom
codex/nlab-api-enum-owner-names

Conversation

@JacobZyy

Copy link
Copy Markdown
Owner

Summary

  • keep schema or Java enum owner names as the minimum generated enum symbol
  • retain package segments only when business-owner names still collide
  • prevent broad and unstable exports such as Status, Result, and Scene
  • simplify the comment-enum test so owner preservation is required without an artificial collision

Verification

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked

@JacobZyy
JacobZyy merged commit edae972 into main Aug 22, 2026
1 check passed
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.

1 participant