feat!: add required calendarDate stage to MealInDbBaseClientFacingSource builder#4
Merged
Merged
Conversation
…rce builder Introduce new fields and types to LabReportResult and MealInDbBaseClientFacingSource, and update all environment base URLs from tryvital.io to junction.com domains. The MealInDbBaseClientFacingSource staged builder now requires a new mandatory `calendarDate` step between `timestamp` and `name`, making this a breaking change for any caller constructing this type via the builder. The `timestamp()` method now returns `CalendarDateStage` instead of `NameStage`, breaking existing builder chains that skip directly to `name()`. Key changes: - `MealInDbBaseClientFacingSource` builder gains a required `CalendarDateStage` step; `timestamp()` now returns `CalendarDateStage` instead of `NameStage` - `LabReportResult` gains two new optional fields: `sampleType` (`LabReportResultSampleType`) and `measurementKind` (`LabReportResultMeasurementKind`) - New types `LabReportResultSampleType` and `LabReportResultMeasurementKind` added with full visitor/enum support - All environment base URLs updated from `tryvital.io` to `junction.com` domains 🌿 Generated with Fern
ItachiEU
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking: The
timestamp()method onMealInDbBaseClientFacingSource.Buildernow returnsCalendarDateStageinstead ofNameStage, breaking all existing builder chains that call.name()directly after.timestamp().Breaking Changes
MealInDbBaseClientFacingSourcebuilder — a new requiredcalendarDatestep has been inserted betweentimestampandnamein the staged builder;timestamp()now returnsCalendarDateStageinstead ofNameStage. Update all builder chains to call.calendarDate("YYYY-MM-DD")after.timestamp(...).Added
LabReportResultSampleType— new enum type representing the biological sample type (e.g.URINE,SERUM_PLASMA_BLOOD,CAPILLARY_BLOOD,STOOL,SALIVA) on a lab result.LabReportResultMeasurementKind— new enum type representing how a lab result was measured (DIRECT,CALCULATED,RATIO,UNKNOWN).LabReportResult.getSampleType()andLabReportResult.getMeasurementKind()— new optional fields and corresponding builder methods onLabReportResult.Changed
Environmentbase URLs updated — all environment constants (PRODUCTION,PRODUCTION_EU,SANDBOX,SANDBOX_EU) now point tojunction.comdomains instead oftryvital.io.See full changelog