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

fix: don't hardcode deployment environment in logs #177

Merged
merged 2 commits into from
Jul 21, 2023

Conversation

bard
Copy link
Contributor

@bard bard commented Jul 21, 2023

Required for deployment to production.

fixes: #176

Copy link
Contributor

@vacekj vacekj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for zod (or any good validation library) 🤝

@bard
Copy link
Contributor Author

bard commented Jul 21, 2023

+1 for zod (or any good validation library) handshake

To be fair, there should be a single schema instead of scattered validations, but given the risk for breakage I went for the incremental change. The idiomatic version is for the next round.

@bard bard merged commit 42bc8e1 into main Jul 21, 2023
1 check passed
@bard bard deleted the fix-dont-hardcode-deployment-environment-in-logs branch July 21, 2023 10:54
bard added a commit that referenced this pull request Aug 2, 2023
* fix: don't hardcode deployment environment in logs

* enh: validate remaining variables and arguments with zod
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.

Don't hardcode service name for logs
3 participants