Skip to content

Conversation

munificent
Copy link
Member

We usually think of augmentations as being generated code augmenting hand-authored code. But there are use cases in the other direction as well where the code generator produces the base declaration and a user hand-writes an augmentation to tweak it.

Add some verbiage to the motivation section to capture that. There's no normative change in this PR, it's just context.

cc @brianquinlan @devoncarew

We usually think of augmentations as being generated code augmenting
hand-authored code. But there are use cases in the other direction as
well where the code generator produces the base declaration and a user
hand-writes an augmentation to tweak it.

Add some verbiage to the motivation section to capture that.
@munificent munificent requested a review from lrhn October 10, 2025 01:06
@munificent munificent merged commit 5407447 into main Oct 13, 2025
4 checks passed
@munificent munificent deleted the augmentations-code-generation-motivation branch October 13, 2025 18:18
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