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
a slice rule of Slices().Matching("Module.(*)").Should().BeFreeOfCycles() finds the dependency cycle.
However, if you move Class2 into a sub-namespace, the cycle no longer gets detected:
The text was updated successfully, but these errors were encountered:
MikeOnTea
changed the title
Slice matching ignores subnamespaces
Slice matching does not group classes of subnamespaces into the correct slice
Mar 17, 2023
Given these example dependencies:
a slice rule of
Slices().Matching("Module.(*)").Should().BeFreeOfCycles()
finds the dependency cycle.However, if you move Class2 into a sub-namespace, the cycle no longer gets detected:
The text was updated successfully, but these errors were encountered: