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

Rely on implicit coercion (where makes sense) when coercing arguments #73

Open
medikoo opened this issue Jan 2, 2018 · 0 comments
Open
Assignees

Comments

@medikoo
Copy link
Owner

medikoo commented Jan 2, 2018

Currently in some places to normalize arguments we rely on explicit coercion (e.g. String(str)), when it's more accurate to ensure implicit coercion (e.g. +str).

Thing is there are some intentional differences between those two coercion mechanism, and when validating arguments the implicit coercion characteristics should be ensured.

@medikoo medikoo self-assigned this Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant