Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix runtime default property resolution #40

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

Mr-Pine
Copy link
Contributor

@Mr-Pine Mr-Pine commented Feb 16, 2025

To get the default value for a property at runtime, getDefaultPropertyValue checks the interfaces of the calling class. Since the calling class is the generated *Impl class, the correct class to check is the superclass of the current class.

@parttimenerd parttimenerd merged commit 58bc237 into parttimenerd:main Feb 16, 2025
1 of 2 checks passed
@Mr-Pine Mr-Pine deleted the runtime-property-default branch February 16, 2025 09:58
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