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

Add hidden -typedef_enum_with_defmod flag #119

Merged
merged 4 commits into from
Nov 8, 2023
Merged

Conversation

wenovus
Copy link
Contributor

@wenovus wenovus commented Aug 1, 2023

This is a breaking change whose intention is to enforce that -typedef_enum_with_defmod=true for all new generated ygnmi code.

There are many existing ygot-generated code that has -typedef_enum_with_defmod=true because it is planned for deprecation in ygot@v1: openconfig/ygot#404, and therefore any new generated code should use it as the standard.

Keeping it as a hidden flag to allow existing users to continue generating without issues.

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

Pull Request Test Coverage Report for Build 6803318205

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 82.26%

Totals Coverage Status
Change from base Build 6633086036: 0.0%
Covered Lines: 1980
Relevant Lines: 2407

💛 - Coveralls

Base automatically changed from add-package-flag to main August 1, 2023 17:13
@wenovus wenovus marked this pull request as ready for review November 7, 2023 19:52
@wenovus wenovus changed the title Add -typedef_enum_with_defmod flag Add hidden -typedef_enum_with_defmod flag Nov 7, 2023
@DanG100
Copy link
Contributor

DanG100 commented Nov 8, 2023

might also be worth considering ygnmi 1.0 (after ygot)

@wenovus wenovus merged commit 543ba09 into main Nov 8, 2023
@wenovus wenovus deleted the add-typedef-enum-flag branch November 8, 2023 19:59
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.

2 participants