Skip to content

add getOrDefault() - #25

Merged
johnnylee-wf merged 5 commits into
mainfrom
get-or-default
Sep 17, 2025
Merged

add getOrDefault()#25
johnnylee-wf merged 5 commits into
mainfrom
get-or-default

Conversation

@johnnylee-wf

@johnnylee-wf johnnylee-wf commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Adds a method that allows giving a deafult value to environment variables when queries.

Normally, our environment variables cannot be set with an empty value, so we add dummy values like -.

By adding a method that allows defining a default value, we can work around this issue in an explicit way.

@johnnylee-wf
johnnylee-wf merged commit 0602c2d into main Sep 17, 2025
1 check passed
@johnnylee-wf
johnnylee-wf deleted the get-or-default branch September 17, 2025 13:19
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.

1 participant