Confbase / cfg

A tool to manage configuration files and use them in production.
https://confbase.com/cfg
Apache License 2.0
7 stars 6 forks source link

encapsulate instances in their own struct #8

Closed thomasdfischer closed 6 years ago

thomasdfischer commented 6 years ago

Currently, instances are stored as strings in .cfg.json. The strings represent their respective filenames.

An Instance struct should be created and should replace the strings. While this could lead to data duplication, it provides a consistent interface to process Instances and will lead to less pain in the future.