Open loentar opened 7 years ago
what do you think if ngrest create project will create also a config file, that is read with ngrest script?
Maybe.. and it may override settings from default config file.
Not sure if possible to read that config from script directly, but with server it's fine..
with server , did you mean ngrestserver? it there a way for example to create project with config file and read the config from the project_name.cpp. If yes I really want to implemented
On Wed, Jan 18, 2017 at 11:19 PM, Dmitry notifications@github.com wrote:
Maybe.. and it may override settings from default config file.
Not sure if possible to read that config from script directly, but with server it's fine..
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/loentar/ngrest/issues/17#issuecomment-273589634, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOg9DpnoSCJk50mi0b75dN2qtCY50Gdks5rTnO9gaJpZM4LBHj0 .
If you need to store some configuration for your service, it may be implemented like that:
thanks a lot.
On Sat, Jan 28, 2017 at 1:12 PM, Dmitry notifications@github.com wrote:
If you need to store some configuration for your service, it may be implemented like that:
configexample.zip https://github.com/loentar/ngrest/files/736825/configexample.zip
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/loentar/ngrest/issues/17#issuecomment-275839661, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOg9CAVF78lm_iiuF-hygYg2yFHgXsaks5rWxRxgaJpZM4LBHj0 .
Now ngrest has a number of hidden parameters which is set on compile-time and cannot be changed by user without re-building ngrest. It would be good to make it configurable from config file (JSON)?