Skip to content

Conversation

jwilkinson87
Copy link
Contributor

Note: Although we are not including timeband data with tests, this relationship is necessary in order to read the ID of a timeband returned with appointment data.

This pull request introduces support for a new timeBand relationship on the Appointment model, allowing appointments to be associated with a TimeBand object. The changes include updating the model, adjusting its constructor, and adding a unit test to ensure the relationship is properly hydrated.

Model enhancements:

  • Added a nullable timeBand property of type TimeBand to the Appointment class, annotated with @Relationship("time_band"), and updated the constructor and default values accordingly. [1] [2] [3]
  • Imported TimeBand where necessary to support the new relationship.

Testing:

  • Updated OperationsRouterTest to assert that the timeBand relationship is hydrated and contains the expected ID.

Copy link

There is a problem with the Gemini CLI PR review. Please check the action logs for details.

@jwilkinson87 jwilkinson87 added the improvement improving features, performance, quality, reliability or security label Aug 18, 2025
@jwilkinson87 jwilkinson87 merged commit 6a905cc into main Aug 18, 2025
2 of 3 checks passed
@jwilkinson87 jwilkinson87 deleted the feat/timeband-support branch August 18, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improving features, performance, quality, reliability or security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants