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

feat: 1822 flex forbidden pickup type & forbidden drop off type #1936

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

qcdyx
Copy link
Contributor

@qcdyx qcdyx commented Jan 7, 2025

Summary:

Closes #1822
Closes #1818

Expected behavior:
Display forbidden pickup/ drop off notice if conditions met.
image

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with gradle test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@qcdyx qcdyx linked an issue Jan 7, 2025 that may be closed by this pull request
@qcdyx qcdyx changed the title feat: 1822 flex forbidden pickup type feat: 1822 flex forbidden pickup type & forbidden drop off type Jan 7, 2025
Copy link
Contributor

github-actions bot commented Jan 7, 2025

This contribution does not follow the conventions set by the Google Java style guide. Please run the following command line at the root of the project to fix formatting errors: ./gradlew goJF.

entity.endPickupDropOffWindow()));
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

You should maybe add a shouldValidate method that allows skipping the validate call as an optimisation.
See for example:
StopTimesShapeDistTraveledPresenceValidator.java

And here is the PR where this feature was added: #1875

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.

Flex: forbidden_pickup_type Flex: forbidden_drop_off_type
2 participants