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
{{ message }}
Repository navigation
Parse Compose service network object form for aliases #116
Error: DecodingError.typeMismatch: expected value of type Sequence. Path: services.web.networks. Debug description: Expected to decode Sequence but found Node instead.
Expected behavior
Compose supports both forms:
networks:
- appnet
and:
networks:
appnet:
aliases:
- web-alias
container-compose should parse the object form and either:
apply supported per-network service settings, or
produce a targeted unsupported-field warning while continuing for settings it can support.
Aliases may depend on the broader service-discovery/DNS work, but the YAML decoder should accept the Compose object shape.
Closing as completed by #119. Current main parses the Compose service network object form, including aliases; NetworkConfigurationTests covers the YAML shape from this issue.
Activity
thromel commentedon Jul 2, 2026
Closing as completed by #119. Current main parses the Compose service network object form, including aliases; NetworkConfigurationTests covers the YAML shape from this issue.