Closed scolladon closed 4 years ago
Proposed convention: uppercase text surrounded with <>
:
<REPLACE_ME>
I propose the following :
applied to existing : url => url version => version username => username password => password secret_token => secretToken clientId => clientId clientSecret => clientSecret redirectUrl => redirectUrl init_access_token => initAccessToken site => site key => to remove : seems to not be used env => to remove : seems to not be used orgId => _orgId userId => _userId endpoint => _endpoint access_token => _accessToken refreshtoken => refreshToken
Sounds good, let's try to separate two concepts in docs: variables and placeholders.
Here's what I propose as definitions:
<>
Wonderfull !
I think we don't need to add placeholder in the template environment, they will be added when we set them in the code.
This way we expose the variable in the environment template and we let the scripts add the system one it requires :
url => url
version => version
username => username
password => password
secret_token => secretToken
clientId => clientId
clientSecret => clientSecret
redirectUrl => redirectUrl
init_access_token => initAccessToken
site => site
key => to remove : seems to not be used
env => to remove : seems to not be used
orgId =>
Define naming convention to distinguish settable by user variable and variable set by the system