Skip to content

Conversation

@danieleades
Copy link
Contributor

updates the codegen to use 'Self' to refer to own type.

this change is 'breaking' in the sense that the downstream code-gen tests in progenitor will need to be regenerated after pulling in this change

@ahl
Copy link
Collaborator

ahl commented Jan 11, 2026

What's the rationale here?

@danieleades
Copy link
Contributor Author

danieleades commented Jan 11, 2026

Less redundant repetition of the struct name, less verbose, easier to refactor, makes constructors more obvious, less clippy warnings for downstream users using pedantic/nursery lints

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