icgc-argo / platform-api

https://api.platform.icgc-argo.org/graphql
GNU Affero General Public License v3.0
0 stars 0 forks source link

Replace config type assertions with defaults declaring missing variable #682

Closed joneubank closed 8 months ago

joneubank commented 9 months ago

Description of changes

Removed type assertions reading process.env variables.

For the variables that are required to have a value (undefined is breaking) I have given the config value a default string that will be invalid in that context, the default value will declare the env variable is missing. This should help troubleshooting cases where this env value is missing!

Type of Change