Skip to content

Type URI now requires protocol scheme. #141

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

Merged
merged 1 commit into from
Mar 14, 2018

Conversation

AcckiyGerman
Copy link
Contributor

@AcckiyGerman AcckiyGerman commented Mar 14, 2018

This fix makes URI type consistent in JS & PY versions of tableschema.
Here https://github.com/frictionlessdata/tableschema-py/blob/7de2c803bbb0ee034c2f376be26466c8b956ae48/tableschema/types/string.py#L48 tableschema-py requires protocol to be presented in URI type, same will be required in JS version from now.

Infer() method will treat value 8.8.8.8 as a String with type Default
Validator changed its behavior accordingly.

Fix issues:
#135
frictionlessdata/tableschema-py#204
datahubio/datahub-v2-pm#126
datahubio/datahub#121

@AcckiyGerman AcckiyGerman requested review from roll and akariv March 14, 2018 15:27
@vitorbaptista vitorbaptista requested review from vitorbaptista and removed request for akariv and roll March 14, 2018 16:22
Copy link
Contributor

@vitorbaptista vitorbaptista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@vitorbaptista vitorbaptista merged commit c8a10eb into master Mar 14, 2018
@vitorbaptista vitorbaptista deleted the require_protocol_scheme_in_urls branch March 14, 2018 16:23
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.

3 participants