You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm really happy that I found your excellent package, it makes my life a lot easier. One thing I may miss is the possibility to load extra attributes from a file into an existing instance.
Example:
I load a main configuration file and want to add additional configuration values from a plugin configuration file into the same Box instance. I created a much smaller solution myself, where I added a function add_from_file and instead of creating of a new instance I simply updated the existing one with the values coming from the second file.
This may be easier than creating two independent instances and then updating the first one with the values from the second one.
What do you think?
Regards, Thomas
The text was updated successfully, but these errors were encountered:
Thanks for the idea, only issue is that I am having a hard time following what you really want. (My brain is scrambled between what you mean between attribute / value / configuration file.)
Could you provide a simplified code example of what you have to do now and how you would like it to behave?
Then, further on, I'd like to load additional values from another configuration file, maybe for a plugin. Of course, I could to that by reading the additional values to its own Box instance and update the first one:
Hi,
I'm really happy that I found your excellent package, it makes my life a lot easier. One thing I may miss is the possibility to load extra attributes from a file into an existing instance.
Example:
I load a main configuration file and want to add additional configuration values from a plugin configuration file into the same Box instance. I created a much smaller solution myself, where I added a function
add_from_file
and instead of creating of a new instance I simply updated the existing one with the values coming from the second file.This may be easier than creating two independent instances and then updating the first one with the values from the second one.
What do you think?
Regards, Thomas
The text was updated successfully, but these errors were encountered: