Skip to content

feat(interpolate): Add cast to bool for 'depends_on' required and restart options#832

Merged
ndeloof merged 1 commit intocompose-spec:mainfrom
idsulik:issue-13340
Nov 5, 2025
Merged

feat(interpolate): Add cast to bool for 'depends_on' required and restart options#832
ndeloof merged 1 commit intocompose-spec:mainfrom
idsulik:issue-13340

Conversation

@idsulik
Copy link
Contributor

@idsulik idsulik commented Oct 31, 2025

Added type casting support for the required and restart boolean fields in the depends_on service configuration. Previously, when these fields were specified using environment variable interpolation (e.g., ${DB_REQUIRED:-true}), they would remain as strings instead of being converted to proper boolean values.

docker/compose#13340

@ndeloof ndeloof enabled auto-merge (rebase) November 5, 2025 17:55
…tart options

Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
@ndeloof ndeloof merged commit 1b2139e into compose-spec:main Nov 5, 2025
8 checks passed
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.

2 participants

Comments