You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding an extension field (starting with x-) under a depends_on long form element, compose gives an "Additional property is not allowed" error, whereas everywhere else it ignores it (as specified in the documentation and reference)
Compose ignores any fields that start with x-, this is the sole exception where Compose silently ignores unrecognized fields.
They also can be used within any structure in a Compose file where user-defined keys are not expected.
Description
When adding an extension field (starting with x-) under a depends_on long form element, compose gives an "Additional property is not allowed" error, whereas everywhere else it ignores it (as specified in the documentation and reference)
https://docs.docker.com/compose/compose-file/11-extension
Steps To Reproduce
Compose Version
Docker Environment
Anything else?
Maybe I should file it with https://github.com/compose-spec/compose-go ?
I see their https://github.com/compose-spec/compose-go/blob/main/schema/compose-spec.json doesn't have a key
"patternProperties": {"^x-": {}}
for the long form depends_on whereas it is present for most of the other objects in the fileThe text was updated successfully, but these errors were encountered: