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
Currently, we can specify only one extends per file.
It would be helpful if we can specify multiple files in extends to combine multiple process-compose files into one.
Use Case:
Composition over inheritance
Currently, we can reuse code by inheritance using the extends keyword.
If multiple extends is available, we can do it by composition.
Depending on multiple process-compose files
Thanks for resolving #278, I could start to use this tool in monorepo.
For now, the package dependencies are so simple (server -> db) that a single extends keyword is sufficient.
We can handle more dependencies if multiple extends is allowed.
Feature Request
Currently, we can specify only one
extends
per file.It would be helpful if we can specify multiple files in
extends
to combine multiple process-compose files into one.Use Case:
Composition over inheritance
Currently, we can reuse code by inheritance using the
extends
keyword.If multiple
extends
is available, we can do it by composition.Depending on multiple process-compose files
Thanks for resolving #278, I could start to use this tool in monorepo.
For now, the package dependencies are so simple (
server
->db
) that a single extends keyword is sufficient.We can handle more dependencies if multiple
extends
is allowed.Proposed Change:
Let's make
extends
keyword to accept an array.Who Benefits From The Change(s)?
Users using extends keywords, especially working with monorepos.
Alternative Approaches
The text was updated successfully, but these errors were encountered: