compose-go icon indicating copy to clipboard operation
compose-go copied to clipboard

Feature request: Check for cyclic dependencies

Open marcauberer opened this issue 3 years ago • 2 comments

Hi, I have a feature request for you: At the moment the loader accepts a compose file with cyclic dependencies, even when the validation step is enabled.

With cyclic dependencies, I mean something like this:

services:
   service1:
      depends_on:
         - service2
   service2:
      depends_on:
         - service3
   service3
      depends_on:
         - service1

marcauberer avatar Sep 20 '21 09:09 marcauberer

Any updates on this? Do you find this idea useful? I can work on the feature and contribute it myself if you wish ...

marcauberer avatar Nov 09 '21 16:11 marcauberer

/CC @ndeloof @ulyssessouza

marcauberer avatar Nov 10 '21 19:11 marcauberer