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

Add custom property support to AppConfig. #381

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

nanodeath
Copy link
Contributor

This enables plugin authors to easily set and retrieve configuration options
for the end developer.

Closes #380.

Copy link
Collaborator

@Baret Baret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just took a quick look and left 2 comments. This is a lovely small PR with much potential! Great! :)

Copy link
Member

@adam-arold adam-arold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great idea, @nanodeath! Also LGTM apart from a small issue with getProperty.

This enables plugin authors to easily set and retrieve configuration options
for the end developer.

Closes Hexworks#380.
@nanodeath
Copy link
Contributor Author

I've incorporated everyone's suggestions, I think!

So the @sample seems to work okay, but only inside IntelliJ. It doesn't render correctly in the generated Dokka HTML. But also I really like having runnable sample code 😬

Copy link
Member

@adam-arold adam-arold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@adam-arold adam-arold merged commit bfd1b3f into Hexworks:master Apr 30, 2021
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.

AppConfig extensible custom properties API
3 participants