Skip to content

Improve and enforce code generation - #578

Merged
stmcginnis merged 1 commit into
mainfrom
improve-gen
Oct 14, 2026
Merged

stmcginnis merged 1 commit into
mainfrom
improve-gen

Conversation

@stmcginnis

Copy link
Copy Markdown
Owner

This improves the code generation from the published schema specs to reduce the amount of manual reconiliation that was needed to make adjustments for workarounds and conflicts. All primary source files should now be generated code only and customizations should go in a *_custom.go file for the type.

This also adds a CI job to check help enforce that these files are not manually edited.

This should make it easier and quicker to pick up new spec releases.

This improves the code generation from the published schema specs to
reduce the amount of manual reconiliation that was needed to make
adjustments for workarounds and conflicts. All primary source files
should now be generated code only and customizations should go in a
*_custom.go file for the type.

This also adds a CI job to check help enforce that these files are not
manually edited.

This should make it easier and quicker to pick up new spec releases.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
@stmcginnis
stmcginnis merged commit b793244 into main Oct 14, 2026
3 checks passed
@stmcginnis
stmcginnis deleted the improve-gen branch October 14, 2026 16:19
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