Skip to content

feat!: add required calendarDate stage to MealInDbBaseClientFacingSource builder#1

Closed
fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-05-04T08-05Z
Closed

feat!: add required calendarDate stage to MealInDbBaseClientFacingSource builder#1
fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-05-04T08-05Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented May 4, 2026

⚠️ 0.0.1 → 1.0.0

Breaking: TimestampStage.timestamp() return type changed from NameStage to CalendarDateStage, breaking all existing builder call chains that chained .timestamp(...).name(...) directly.

Breaking Changes

  • MealInDbBaseClientFacingSource builder — the TimestampStage.timestamp() method now returns CalendarDateStage instead of NameStage; existing builder chains must insert a .calendarDate(...) call between .timestamp(...) and .name(...).

Added

  • MealInDbBaseClientFacingSource.getCalendarDate() — new required field exposing the meal date in YYYY-MM-dd format, sourced from the calendar_date JSON property.

See full changelog

…rce builder

Add a new required `calendarDate` field to `MealInDbBaseClientFacingSource`,
introducing a new `CalendarDateStage` step in the staged builder chain. This
is a breaking change because the `TimestampStage.timestamp()` method now
returns `CalendarDateStage` instead of `NameStage`, breaking any existing
builder call chains that previously chained directly from `timestamp()` to
`name()`.

Key changes:
- Add `calendarDate` (String) as a required field on `MealInDbBaseClientFacingSource`
- Introduce new `CalendarDateStage` interface with `calendarDate(@NotNull String)` builder method
- Change `TimestampStage.timestamp()` return type from `NameStage` to `CalendarDateStage`
- Add `getCalendarDate()` accessor returning the meal date in YYYY-MM-dd format
- Update `equals()`, `hashCode()`, and `toString()` to include `calendarDate`

🌿 Generated with Fern
@ItachiEU ItachiEU closed this May 6, 2026
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