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

[turso] Allows authToken to be empty string #3933

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dikatok
Copy link

@dikatok dikatok commented Jan 11, 2025

authToken especially provided by env variable could be an empty string, relaxing the validation would allow it to pass instead of forcing developer to create a branching case for providing credentials

Currently, when authToken is provided as an empty string, validation message is outputted though is not exactly clear.
Screenshot 2025-01-11 at 18 23 03

Without relaxing the validation, developer would need to use a branch case.
Screenshot 2025-01-11 at 18 24 42

authToken especially provided by env variable could be an empty string, relaxing the validation would allow it to pass instead of forcing developer to create a branching case for providing credentials
authToken especially provided by env variable could be an empty string, relaxing the validation would allow it to pass instead of forcing developer to create a branching case for providing credentials
@dikatok
Copy link
Author

dikatok commented Jan 11, 2025

hmmm, is my previous unverified commit an issue? should I create another branch and create another PR from it?

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