Skip to content

Add InitParam#93

Merged
DavidCEllis merged 18 commits into
mainfrom
typing-fixes
Apr 13, 2026
Merged

Add InitParam#93
DavidCEllis merged 18 commits into
mainfrom
typing-fixes

Conversation

@DavidCEllis
Copy link
Copy Markdown
Owner

@DavidCEllis DavidCEllis commented Apr 9, 2026

This adds a new InitParam which works slightly differently to dataclasses. The type hint is used in the __prefab_post_init__ function instead of on the class.

@DavidCEllis DavidCEllis changed the title Add InitVar Add InitParam Apr 13, 2026
@DavidCEllis DavidCEllis merged commit b8b32e5 into main Apr 13, 2026
8 checks passed
@DavidCEllis DavidCEllis deleted the typing-fixes branch April 16, 2026 10:07
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