Closed ferranbt closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/tesera/ensemble/7VToxGnBdATR6QL6MnmWKVGkZZMQ
✅ Preview: https://ensemble-git-feature-schema-tesera.vercel.app
This PR adds a new Schema helper struct to represent any typed configuration: database nodes, computational resources (cpu, mem), storage or database resources (i.e. Rabbitmq vhost).
Before, it used a struct to represent each different field. This approach was more cumbersome to use since it involved too many reflections and many of the function calls to process the configs would take an interface as argument.