[go: nahoru, domu]

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

Класс для указания состава настроек для configor #60

Open
nixel2007 opened this issue Aug 24, 2023 · 2 comments

Comments

@nixel2007
Copy link
Member

У configor есть возможность возвращения настроек в виде класса с дефолтными значениями. Но конфигор поддерживает только один такой класс. В осени же хочется дать возможность каждой библиотеке и пользователю добавлять свои микро-классы с параметрами.
Можно попробовать через декоратор собирать общий класс из таких мини-классов с общим прозвищем настроек) и передавать его в конфигор

@nixel2007
Copy link
Member Author
nixel2007 commented Aug 24, 2023

Прародитель - @ConfigurationProperties

@nixel2007
Copy link
Member Author

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

No branches or pull requests

1 participant