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

chore: add example for definition naming strategy #506

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

CarstenWickner
Copy link
Member

@CarstenWickner CarstenWickner commented Dec 17, 2024

Answering #505

Showing both:

  • altering the definition name by removing an unwanted suffix
  • manually ensuring uniqueness in case of name clashes, e.g., when there is a Book and BookModel, both represented as Book. By default, they would be Book-1 and Book-2. In this example, they end up as Book-A and Book-B.

@CarstenWickner CarstenWickner merged commit ec3a135 into main Dec 17, 2024
12 checks passed
@CarstenWickner CarstenWickner deleted the naming-strategy-example branch December 17, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant