Inject Configuration copy #585
Unanswered
yaroslavambrozyak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, in my project I have defined a configuration like this
config = providers.Configuration()
then I inject this configuration into a function
so if I add/modify any config property it will affect it globaly, so can I somehow inject a copy of the config so then I can modify it inside my function and don't affect the actual config?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions