Closed hussainanjar closed 9 years ago
I like the idea of putting the server config in a separate folder, will update my PR :P, but I wouldn't use it in tests, mainly for port use, this can change once we add Confidence and have environment specific configs
Also something that I did was to have a default server and then instead of just passing full on manifests, only pass along what you want to change to the default on and then do Hoek.applyToDefaults And maybe put the config file in a config folder
@AdriVanHoudt I agree with the idea of having manifest.json in config folder but I'm not sure about the idea of defaultServer.
One config file defining everything looks more neat and will be easily extendible if different connections are required for web and say API.
More readable too I think.
@hussainanjar those are the same thing right? Only I allow to override stuff and you don't
@AdriVanHoudt why do you feel the need of defining default server outside of config file ?
@AdriVanHoudt got it now while writing tests, your approach makes test simpler. :+1:
Completed assignment 5.
Kept Glue manifest in external json file under config folder.
Closes #136