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

Derive app_name from module path #568

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Derive app_name from module path #568

merged 2 commits into from
Feb 28, 2024

Conversation

lorenyu
Copy link
Contributor

@lorenyu lorenyu commented Feb 28, 2024

Ticket

N/A

Changes

see title

Context for reviewers

When changing the name of the application from the default of app, such as when adding multiple applications to a monorepo, developers often forget to modify the app_name config value in the app-config module. This change removes the need for that manual step by obtaining the app_name from the name of the folder containing the application's infrastructure code.

Testing

Developed and tested in navapbc/platform-test#94

@lorenyu lorenyu added the type: devex Developer experience label Feb 28, 2024
@lorenyu lorenyu merged commit 2ff0cc3 into main Feb 28, 2024
7 checks passed
@lorenyu lorenyu deleted the lorenyu/appname branch February 28, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: devex Developer experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants