-
Notifications
You must be signed in to change notification settings - Fork 6
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 get dependency modules depending on order in constructor #358
Fix get dependency modules depending on order in constructor #358
Conversation
…Type after calling dependency modules This makes half of the UnitTest fail, which is the intention, and what needs to be fixed.
Store the adapter rather than the AdapterIdFragmentType Use the AdapterIdFragmentType on the stored IBHoMAdapter rather than the previously stored type Add better null handling on the adapter and ID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving based on code changes and unit tests.
This solution effectively fixes an issue that can happen due to the Modules and their loading order in the Adapter ctor. This is an issue that the current adapter has because of its structure, which we could improve via some of the ideas listed in #356.
@IsakNaslundBh to confirm, the following actions are now queued:
There are 39 requests in the queue ahead of you. |
The check |
The check |
@BHoMBot check versioning |
@IsakNaslundBh to confirm, the following actions are now queued:
|
@BHoMBot check versioning |
@IsakNaslundBh to confirm, the following actions are now queued:
|
@BHoMBot check versioning |
@IsakNaslundBh to confirm, the following actions are now queued:
|
@BHoMBot check versioning |
@IsakNaslundBh to confirm, the following actions are now queued:
There are 35 requests in the queue ahead of you. |
@BHoMBot check versioning |
@IsakNaslundBh to confirm, the following actions are now queued:
There are 6 requests in the queue ahead of you. |
Please be advised that the check with reference 11906993068 has more than 50 annotations of notes. API limitations restrict annotations to 50. You may need to rerun this check to obtain the next set when you make changes. At the time of reporting this check, there are 163 additional annotations waiting, made up of 163 errors and 0 warnings. |
@BHoMBot check versioning |
@FraserGreenroyd to confirm, the following actions are now queued:
|
Please be advised that the check with reference 11908247408 has more than 50 annotations of notes. API limitations restrict annotations to 50. You may need to rerun this check to obtain the next set when you make changes. At the time of reporting this check, there are 3749 additional annotations waiting, made up of 3749 errors and 0 warnings. |
@BHoMBot check versioning |
@IsakNaslundBh to confirm, the following actions are now queued:
|
@BHoMBot check ready-to-merge |
@IsakNaslundBh to confirm, the following actions are now queued:
There are 4 requests in the queue ahead of you. |
Issues addressed by this PR
Closes #357
Fixes problem with call order of ModuleLoader and setting AdapterIdType. See issue for more details
Test files
All unittests should pass after change or calls in the constructor for SA
Changelog
Additional comments