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

Alerts filter by mode #154

Open
wants to merge 4 commits into
base: dev-1.x
Choose a base branch
from

Conversation

AlexLoyko
Copy link

I have added the support for filtering alerts by mode by adding an optional "modes" String argument.

The implementation is very similar to that for routes filtering by mode.

Use:
alerts(modes: "BUS, SUBWAY") {
// some fields
}

This query will return alerts for only buses and subways.

@optionsome optionsome changed the base branch from master to dev-1.x January 21, 2022 09:10
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.

1 participant