Skip to content

feat: Split FieldParsingError into different classes#756

Merged
barbeau merged 2 commits intoMobilityData:masterfrom
aababilov:validate-fields
Feb 18, 2021
Merged

feat: Split FieldParsingError into different classes#756
barbeau merged 2 commits intoMobilityData:masterfrom
aababilov:validate-fields

Conversation

@aababilov
Copy link
Copy Markdown
Collaborator

Format requirements for different fields are different, so that probably
does not make sense to group them all at the same error class.

Separate error classes may be placed in different sections of a
validation report that add details on the expected format.

Users of GTFS Validator may want to reduce the severity of certain
errors, e.g., validation of URLs and phone numbers.

Format requirements for different fields are different, so that probably
does not make sense to group them all at the same error class.

Separate error classes may be placed in different sections of a
validation report that add details on the expected format.

Users of GTFS Validator may want to reduce the severity of certain
errors, e.g., validation of URLs and phone numbers.
@aababilov
Copy link
Copy Markdown
Collaborator Author

@barbeau @lionel-nj
How do you like this idea?

Copy link
Copy Markdown
Contributor

@lionel-nj lionel-nj left a comment

Choose a reason for hiding this comment

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

Great idea! That will clarify the validation reports. Just one comment inline. Thanks @aababilov!

Copy link
Copy Markdown
Member

@barbeau barbeau left a comment

Choose a reason for hiding this comment

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

Thanks @aababilov! I agree that this is a good idea. Some comments in-line.

@aababilov
Copy link
Copy Markdown
Collaborator Author

I am glad that you liked that idea!

Copy link
Copy Markdown
Member

@barbeau barbeau left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @aababilov!

@barbeau barbeau merged commit 1b7f6de into MobilityData:master Feb 18, 2021
@aababilov
Copy link
Copy Markdown
Collaborator Author

Thanks for the review!

@aababilov aababilov deleted the validate-fields branch April 20, 2021 02:25
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