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

Stop attempting to convert credentials to numbers #164

Merged
merged 1 commit into from Dec 16, 2016

Conversation

jbowes
Copy link
Member

@jbowes jbowes commented Dec 16, 2016

We support types for credentials, which is nice. However, we can't
accurately know if a string given to us on the command line that looks
like a number really should be a number.

If we assume it should be a number, we end up losing data, like leading
zeros, or converting long decimals to scientific notation.

For values given on the command line, stop attempting to convert the
value, and instead store it as a string.

Closes #163

We support types for credentials, which is nice. However, we can't
accurately know if a string given to us on the command line that *looks*
like a number really should be a number.

If we assume it should be a number, we end up losing data, like leading
zeros, or converting long decimals to scientific notation.

For values given on the command line, stop attempting to convert the
value, and instead store it as a string.

Closes #163
@jbowes jbowes merged commit 0611ad2 into master Dec 16, 2016
@jbowes jbowes deleted the set-from-cli-is-always-a-string branch December 16, 2016 16:35
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.

None yet

2 participants