We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from_env
Calling SpotifyClientCredentials::default() automatically tries to read the environment values for CLIENT_ID and CLIENT_SECRET. I think this shouldn't be the default behavior, meaning that the current default method should become from_env, and have a default method that simply sets the values to None.
SpotifyClientCredentials::default()
CLIENT_ID
CLIENT_SECRET
default
None
This is also done by the tekore library, for example.
This should be done after #109 is taken care of. I have to check if any other structs apart from SpotifyClientCredentials do anything similar.
SpotifyClientCredentials
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Calling
SpotifyClientCredentials::default()
automatically tries to read the environment values forCLIENT_ID
andCLIENT_SECRET
. I think this shouldn't be the default behavior, meaning that the currentdefault
method should becomefrom_env
, and have adefault
method that simply sets the values toNone
.This is also done by the tekore library, for example.
This should be done after #109 is taken care of. I have to check if any other structs apart from
SpotifyClientCredentials
do anything similar.The text was updated successfully, but these errors were encountered: