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

@ConfigIgnored annotation #40

Closed
wants to merge 2 commits into from
Closed

@ConfigIgnored annotation #40

wants to merge 2 commits into from

Conversation

ix0rai
Copy link
Member

@ix0rai ix0rai commented Feb 9, 2024

marks a field as ignored by the config, allowing you to put other fields in your config classes

@ix0rai ix0rai added the enhancement New feature or request label Feb 9, 2024
@TheGlitch76
Copy link
Contributor

The transient keyword should already do this.

@FirstMegaGame4
Copy link

So this would be allowing us to add something like comments in our configs?

@FirstMegaGame4
Copy link

FirstMegaGame4 commented Feb 13, 2024

My bad I'm dumb I didn't check the @Comment annotation before

@ix0rai
Copy link
Member Author

ix0rai commented Feb 13, 2024

The transient keyword should already do this.

I'll add that to the docs I'm writing

@ix0rai ix0rai closed this Feb 13, 2024
@TheGlitch76
Copy link
Contributor

Sorry to waste your time! It's not a very well known Java feature and the docs don't make it clear you can do that

@ix0rai
Copy link
Member Author

ix0rai commented Feb 14, 2024

girl I wasted my own time I should have asked you before writing this 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants