qossmic / deptrac

Keep your architecture clean.
https://qossmic.github.io/deptrac
MIT License
2.61k stars 135 forks source link

Ambiguous of @internal #1287

Closed gennadigennadigennadi closed 7 months ago

gennadigennadigennadi commented 10 months ago

Deptrac uses @interal as it's own layer config. Aka The class is only allowed to be used in it's layer.

The problem is, that it also has the community proved meaning of the class is "final" and should not be used by anyone else then the package itself.

Because of this we always recommend to register a services to exclude these warnings.

See https://github.com/qossmic/deptrac/issues/1220 and many more.

I would like to remove @internal and only support @deptrac-internal. And maybe also rename it to @deptrac-layer-internal, so it's usage is clear.

gennadigennadigennadi commented 9 months ago

MR: #1318