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

Either short_name or long_name required #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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