Skip to content

fix: ensure required env var can't be an empty string#1960

Merged
spaenleh merged 1 commit into
mainfrom
require-env-var-check-empty-string
Jul 25, 2025
Merged

fix: ensure required env var can't be an empty string#1960
spaenleh merged 1 commit into
mainfrom
require-env-var-check-empty-string

Conversation

@spaenleh
Copy link
Copy Markdown
Member

@spaenleh spaenleh commented Jul 24, 2025

Related to graasp/graasp-infrastructure#82 the value of the env var would actually be '' and the start would not fail, failing only much later when we actually tried to use the env var in question. And there it failed with a validation error from Postgres...

I am not sure how to test this function correctly, any ideas ?

@spaenleh spaenleh requested a review from pyphilia July 24, 2025 17:41
@spaenleh spaenleh self-assigned this Jul 24, 2025
@spaenleh spaenleh added the bug 🪲 Something isn't working label Jul 24, 2025
@sonarqubecloud
Copy link
Copy Markdown

@spaenleh spaenleh added this pull request to the merge queue Jul 25, 2025
Merged via the queue into main with commit 3ce0469 Jul 25, 2025
8 checks passed
@spaenleh spaenleh deleted the require-env-var-check-empty-string branch July 25, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working v2.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants