Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dont throw exception if a type can not be resolved #333

Merged

Conversation

alexanderlinne
Copy link
Collaborator

When assemblies are loaded by path, there are cases where a dependent type cannot be resolved because the assembly dependency is not loaded in the current application domain. In this case, we create a stub type.

Fixes #325

@alexanderlinne alexanderlinne force-pushed the 325-ensure-no-calls-between-modules-in-a-modulith branch from 91cf98c to 06c4990 Compare January 10, 2025 16:18
Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
@alexanderlinne alexanderlinne force-pushed the 325-ensure-no-calls-between-modules-in-a-modulith branch from 06c4990 to 0ccf818 Compare January 10, 2025 16:22
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 50.00000% with 30 lines in your changes missing coverage. Please review.

Project coverage is 65.49%. Comparing base (88f48ea) to head (0ccf818).

Files with missing lines Patch % Lines
ArchUnitNET/Domain/UnavailableType.cs 25.00% 29 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #333      +/-   ##
==========================================
+ Coverage   65.43%   65.49%   +0.05%     
==========================================
  Files         256      257       +1     
  Lines       22946    23005      +59     
  Branches     1949     1953       +4     
==========================================
+ Hits        15015    15066      +51     
- Misses       7378     7386       +8     
  Partials      553      553              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alexanderlinne alexanderlinne merged commit 2076193 into main Jan 13, 2025
9 checks passed
@alexanderlinne alexanderlinne deleted the 325-ensure-no-calls-between-modules-in-a-modulith branch January 13, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure no calls between modules in a Modulith
3 participants