Skip to content

feat!: add required calendarDate field to MealInDbBaseClientFacingSource#1

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

feat!: add required calendarDate field to MealInDbBaseClientFacingSource#1
fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-05-01T18-05Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

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

⚠️ 0.0.1 → 1.0.0

Breaking: Adding a new required (non-optional) property calendarDate to the MealInDbBaseClientFacingSource interface is a breaking change because existing callers that construct this type without the new field will get a TypeScript compile error.

Breaking Changes

  • MealInDbBaseClientFacingSource — a new required calendarDate field (string, mapped from calendar_date) has been added to the interface. Any code that constructs this type without providing calendarDate will fail to compile. Add calendarDate: "YYYY-mm-dd" to all object literals or construction sites for this type.

See full changelog

…Source`

Add a new required `calendarDate` field to the `MealInDbBaseClientFacingSource`
interface, representing the date of the meal in `YYYY-mm-dd` format. This field
is particularly useful for providers that only expose a date rather than a full
timestamp, capturing the calendar date as recorded by the user.

Because this field is required (non-optional) on the interface, existing code
that constructs `MealInDbBaseClientFacingSource` objects without `calendarDate`
will fail to compile.

Key changes:
- Added required `calendarDate: string` property to `MealInDbBaseClientFacingSource` interface
- Added `calendar_date` serialization mapping via `core.serialization.property`
- Added `calendar_date: string` to the raw serialization namespace type

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