I'm a first time user and I ran into what is probably an obvious newbie mistake but instead of using tokens for my config option keys, I used strings (i.e. { "username" => "foo", "password" => "bar", "auth_type" => "basic" }).
It took me an embarrassingly long time to figure out what was was going on 😊.
I think that it would be useful if either the library threw an error when users tried to use strings instead of tokens for the configuration option keys or instead it could take either string or tokens as config/option keys.
If this is something that would be welcomed I am more than happy to make a PR.
Thank you for making this library available.
I'm a first time user and I ran into what is probably an obvious newbie mistake but instead of using tokens for my config option keys, I used strings (i.e.
{ "username" => "foo", "password" => "bar", "auth_type" => "basic" }
).It took me an embarrassingly long time to figure out what was was going on 😊.
I think that it would be useful if either the library threw an error when users tried to use strings instead of tokens for the configuration option keys or instead it could take either string or tokens as config/option keys.
If this is something that would be welcomed I am more than happy to make a PR.