Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a Config object to hold common app configuration #129

Open
wants to merge 1 commit into
base: feature/refactor-nunjucks-views
Choose a base branch
from

Conversation

danlivings-dxw
Copy link
Contributor

Some properties are required in multiple places (such as the private key, which is used to sign JWTs and by Octokit to authenticate to GitHub), so rather than repeating process.env and associated parsing logic throughout the code, this object does it all in one place.

@danlivings-dxw danlivings-dxw force-pushed the feature/common-app-config branch from fa4f68d to 4634b1b Compare March 21, 2025 15:57
@danlivings-dxw danlivings-dxw force-pushed the feature/refactor-nunjucks-views branch from 1096806 to 1740f04 Compare March 21, 2025 17:50
Some properties are required in multiple places (such as the private
key, which is used to sign JWTs and by Octokit to authenticate to
GitHub), so rather than repeating `process.env` and associated parsing
logic throughout the code, this object does it all in one place.
@danlivings-dxw danlivings-dxw force-pushed the feature/common-app-config branch from 4634b1b to 1772f34 Compare March 21, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants