Skip to content
New issue

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

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

Already on GitHub? # to your account

Equivalent of PropertyNamingPolicy for this library? #50

Open
fgimian opened this issue Jan 26, 2025 · 2 comments
Open

Equivalent of PropertyNamingPolicy for this library? #50

fgimian opened this issue Jan 26, 2025 · 2 comments

Comments

@fgimian
Copy link

fgimian commented Jan 26, 2025

Hey there, hope you're doing great! 😄

Is there any equivalent of PropertyNamingPolicy in Tomlet to automatically apply a naming strategy to property names (e.g. snake case), or is it the only option to use the TomlProperty attribute at the moment?

Thanks
Fotis

@SamboyCoding
Copy link
Owner

Currently the only option is TomlProperty with a name on every property.

@fgimian
Copy link
Author

fgimian commented Jan 26, 2025

Currently the only option is TomlProperty with a name on every property.

No worries, thanks so much for the quick reply 😄

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants