You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,16 @@ Introducing new Parse Errors requires the following steps:
131
131
```
132
132
1. Add the newParseError to the [docs](https://github.com/parse-community/docs/blob/gh-pages/_includes/common/errors.md).
133
133
134
+
### Parse Server Configuration
135
+
136
+
Introducing newParse Server configuration parameters requires the following steps:
137
+
138
+
1. Add parameters definitions in [/src/Options/index.js](https://github.com/parse-community/parse-server/blob/master/src/Options/index.js).
139
+
1. If a nested configuration object has been added, add the environment variable option prefix to `getENVPrefix`in [/resources/buildConfigDefinition.js](https://github.com/parse-community/parse-server/blob/master/resources/buildConfigDefinition.js).
140
+
1. Execute `npm run definitions` to automatically create the definitions in [/src/Options/Definitions.js](https://github.com/parse-community/parse-server/blob/master/src/Options/Definitions.js).
141
+
1. Add parameter value validation in [/src/Config.js](https://github.com/parse-community/parse-server/blob/master/src/Config.js).
142
+
1. Add test cases to ensure the correct parameter value validation. Parse Server throws an error at launch if an invalid value is set for any configuration parameter.
143
+
134
144
## Code of Conduct
135
145
136
146
This project adheres to the [Contributor Covenant Code of Conduct](https://github.com/parse-community/parse-server/blob/master/CODE_OF_CONDUCT.md). By participating, you are expected to honor this code.
0 commit comments