angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
313 stars 56 forks source link

Can `type:api` depend on another `type:api`? #54

Closed wizardnet972 closed 3 years ago

wizardnet972 commented 3 years ago

Can type:api depend on another type:api?

Consider the case when you have api-lib deepened on another api-lib

{
  "sourceTag": "type:api",
  "onlyDependOnLibsWithTags": [
    "type:ui",
    "type:domain-logic",
    "type:util"
  ]
},
manfredsteyer commented 3 years ago

We don't generate rules for this by default, b/c it might produce cycles.