Skip to content

Add hidden -typedef_enum_with_defmod flag#119

Merged
wenovus merged 4 commits intomainfrom
add-typedef-enum-flag
Nov 8, 2023
Merged

Add hidden -typedef_enum_with_defmod flag#119
wenovus merged 4 commits intomainfrom
add-typedef-enum-flag

Conversation

@wenovus
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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