Skip to content

Either short_name or long_name required#25

Open
geofflane wants to merge 1 commit intonerdEd:masterfrom
geofflane:routes_short_or_long_required
Open

Either short_name or long_name required#25
geofflane wants to merge 1 commit intonerdEd:masterfrom
geofflane:routes_short_or_long_required

Conversation

@geofflane
Copy link

Both are not required in the spec and without this change Routes without
both are excluded from the results.

This should fix Issue #24

Both are not required in the spec and without this change Routes without
both are excluded from the results.
Copy link
Collaborator

@stephenyeargin stephenyeargin left a comment

Choose a reason for hiding this comment

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

LGTM once the merge conflict clears.

has_required_attrs :id, :short_name, :long_name, :type
has_optional_attrs :agency_id, :desc, :url, :color, :text_color
has_required_attrs :id, :type
has_optional_attrs :agency_id, :desc, :url, :color, :text_color, :short_name, :long_name
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should clear the merge conflict.

Suggested change
has_optional_attrs :agency_id, :desc, :url, :color, :text_color, :short_name, :long_name
has_optional_attrs :agency_id, :desc, :url, :color, :text_color, :sort_order, :short_name, :long_name

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.

2 participants

Comments