René's URL Explorer Experiment


Title: Slices don't differentiate between (*) and (**) making top-level cycle checks impossible · Issue #468 · TNG/ArchUnitNET · GitHub

Open Graph Title: Slices don't differentiate between (*) and (**) making top-level cycle checks impossible · Issue #468 · TNG/ArchUnitNET

X Title: Slices don't differentiate between (*) and (**) making top-level cycle checks impossible · Issue #468 · TNG/ArchUnitNET

Description: if I understand the original docs of ArchUnit correctly, there should be a difference between (*) and (**). (*) should target the package (**) should target the package and its sub packages See also https://www.archunit.org/userguide/htm...

Open Graph Description: if I understand the original docs of ArchUnit correctly, there should be a difference between (*) and (**). (*) should target the package (**) should target the package and its sub packages See als...

X Description: if I understand the original docs of ArchUnit correctly, there should be a difference between (*) and (**). (*) should target the package (**) should target the package and its sub packages See als...

Opengraph URL: https://github.com/TNG/ArchUnitNET/issues/468

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Slices don't differentiate between (*) and (**) making top-level cycle checks impossible","articleBody":"if I understand the original docs of ArchUnit correctly, there should be a difference between (*) and (**).\n\n- (*) should target the package\n- (**) should target the package and its sub packages\n\nSee also https://www.archunit.org/userguide/html/000_Index.html#_slices\n\nthis is however not how the dotnet port of ArchUnit behaves.\n\nIf I specify sth. like CycleDemo.(*) I'd expect it to only check cycles on the top-level\n\nso \n\n- Domain -\u003e Db -\u003e Domain should be detected\n- Domain.Beers -\u003e Domain.Wine -\u003e Domain.Beers should **not** be detected\n\nit will detect however both cycles effectively behaving like (**)\n\n```\n\"Slices matching \"CycleDemo.(*)\" should be free of cycles\" failed:\n\tCycle found:\nDb -\u003e Domain\n\tCycleDemo.Db.ViolatingRepository -\u003e CycleDemo.Domain.Service\nDomain -\u003e Db\n\tCycleDemo.Domain.Service -\u003e CycleDemo.Db.Repository\n\n\tCycle found:\nDomain.Beers -\u003e Domain.Wines\n\tCycleDemo.Domain.Beers.Beer -\u003e CycleDemo.Domain.Wines.Wine\nDomain.Wines -\u003e Domain.Beers\n\tCycleDemo.Domain.Wines.Wine -\u003e CycleDemo.Domain.Beers.Beer\n```\n\nI compared it with the behavior of the Java implementation and it works as documented.\n\n```\nArchitecture Violation [Priority: MEDIUM] - Rule 'slices matching 'demo.(*)' should be free of cycles' was violated (1 times):\nCycle detected: Slice db -\u003e \n                Slice domain -\u003e \n                Slice db\n  1. Dependencies of Slice db\n    - Field \u003cdemo.db.ViolatingRepository.service\u003e has type \u003cdemo.domain.Service\u003e in (ViolatingRepository.java:0)\n    - Constructor \u003cdemo.db.ViolatingRepository.\u003cinit\u003e()\u003e calls constructor \u003cdemo.domain.Service.\u003cinit\u003e()\u003e in (ViolatingRepository.java:6)\n  2. Dependencies of Slice domain\n    - Field \u003cdemo.domain.Service.repository\u003e has type \u003cdemo.db.Repository\u003e in (Service.java:0)\n    - Constructor \u003cdemo.domain.Service.\u003cinit\u003e()\u003e calls constructor \u003cdemo.db.Repository.\u003cinit\u003e()\u003e in (Service.java:6)\n```\n\nIf I look inside the `SliceRuleInitializer.cs` it confirms my suspicion. A single asterisk will be replaced with a double asterisk (line 81):\n\n```csharp\nvar countOfSingleAsterisk =\npattern.Split(new[] { \"(*)\" }, StringSplitOptions.None).Length - 1;\npattern = pattern.Remove(indexOfAsteriskInPattern) + \"(**).\";\n```\n\nAm I missing something?\n\nping me if I should upload my reproduction projects to GitHub!","author":{"url":"https://github.com/enolive","@type":"Person","name":"enolive"},"datePublished":"2026-06-17T14:31:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/468/ArchUnitNET/issues/468"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:62f2cd69-5a46-ef84-003d-30f374543342
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB51E:31038C:283C6C4:39F8098:6A4BF32B
html-safe-nonceef5ba2243e713cbae444922083ddc66170e7d0ef2a56aaaf9dbed7ec7fe2415b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTFFOjMxMDM4QzoyODNDNkM0OjM5RjgwOTg6NkE0QkYzMkIiLCJ2aXNpdG9yX2lkIjoiNjM2MDMzMDgwMTcxNjY1NDg5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac56a38333f38109fe6b698c41e6c6541a533bd0d58b1efa3b3fb39551b128fcef
hovercard-subject-tagissue:4684227782
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TNG/ArchUnitNET/468/issue_layout
twitter:imagehttps://opengraph.githubassets.com/39d81dff1184b72573ed0b1225f4b0155475e0e14a8408ce3795d2a0528198e5/TNG/ArchUnitNET/issues/468
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39d81dff1184b72573ed0b1225f4b0155475e0e14a8408ce3795d2a0528198e5/TNG/ArchUnitNET/issues/468
og:image:altif I understand the original docs of ArchUnit correctly, there should be a difference between (*) and (**). (*) should target the package (**) should target the package and its sub packages See als...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameenolive
hostnamegithub.com
expected-hostnamegithub.com
None0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2
turbo-cache-controlno-preview
go-importgithub.com/TNG/ArchUnitNET git https://github.com/TNG/ArchUnitNET.git
octolytics-dimension-user_id432256
octolytics-dimension-user_loginTNG
octolytics-dimension-repository_id198763782
octolytics-dimension-repository_nwoTNG/ArchUnitNET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id198763782
octolytics-dimension-repository_network_root_nwoTNG/ArchUnitNET
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release10bf439485be3d26a6ab4aa27764288fcc5ef6b9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/TNG/ArchUnitNET/issues/468#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTNG%2FArchUnitNET%2Fissues%2F468
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTNG%2FArchUnitNET%2Fissues%2F468
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TNG%2FArchUnitNET
Reloadhttps://redirect.github.com/TNG/ArchUnitNET/issues/468
Reloadhttps://redirect.github.com/TNG/ArchUnitNET/issues/468
Reloadhttps://redirect.github.com/TNG/ArchUnitNET/issues/468
Please reload this pagehttps://redirect.github.com/TNG/ArchUnitNET/issues/468
TNG https://redirect.github.com/TNG
ArchUnitNEThttps://redirect.github.com/TNG/ArchUnitNET
Notifications https://redirect.github.com/login?return_to=%2FTNG%2FArchUnitNET
Fork 79 https://redirect.github.com/login?return_to=%2FTNG%2FArchUnitNET
Star 1.3k https://redirect.github.com/login?return_to=%2FTNG%2FArchUnitNET
Code https://redirect.github.com/TNG/ArchUnitNET
Issues 24 https://redirect.github.com/TNG/ArchUnitNET/issues
Pull requests 15 https://redirect.github.com/TNG/ArchUnitNET/pulls
Actions https://redirect.github.com/TNG/ArchUnitNET/actions
Projects https://redirect.github.com/TNG/ArchUnitNET/projects
Security and quality 0 https://redirect.github.com/TNG/ArchUnitNET/security
Insights https://redirect.github.com/TNG/ArchUnitNET/pulse
Code https://redirect.github.com/TNG/ArchUnitNET
Issues https://redirect.github.com/TNG/ArchUnitNET/issues
Pull requests https://redirect.github.com/TNG/ArchUnitNET/pulls
Actions https://redirect.github.com/TNG/ArchUnitNET/actions
Projects https://redirect.github.com/TNG/ArchUnitNET/projects
Security and quality https://redirect.github.com/TNG/ArchUnitNET/security
Insights https://redirect.github.com/TNG/ArchUnitNET/pulse
Slices don't differentiate between (*) and (**) making top-level cycle checks impossiblehttps://redirect.github.com/TNG/ArchUnitNET/issues/468#top
needs-triageIndicates that an issue needs to be categorized.https://github.com/TNG/ArchUnitNET/issues?q=state%3Aopen%20label%3A%22needs-triage%22
https://github.com/enolive
enolivehttps://github.com/enolive
on Jun 17, 2026https://github.com/TNG/ArchUnitNET/issues/468#issue-4684227782
https://www.archunit.org/userguide/html/000_Index.html#_sliceshttps://www.archunit.org/userguide/html/000_Index.html#_slices
needs-triageIndicates that an issue needs to be categorized.https://github.com/TNG/ArchUnitNET/issues?q=state%3Aopen%20label%3A%22needs-triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.