-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add adapter module for fetching dependency objects #305
Add adapter module for fetching dependency objects #305
Conversation
@IsakNaslundBh to confirm, the following checks are now queued:
|
The check |
The check |
The check |
@IsakNaslundBh to confirm, the following checks are now queued:
There are 10 requests in the queue ahead of you. |
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.
works flawlessly on LoadCombinations, excellent. Made a commit suggestion for a typo.
The change makes sense to me. However, I'm considering whether we could revise the The inner logic effectively makes the
GetDependencyObjects<T>(IEnumerable<T> objects, List<Type> dependencyTypes, IBHoMAdapter adapter = null)
I just think this would make things clearer; even though one method would probably rarely be used, we still should consider that this method is publicly available as part of an Engine. What do you think @IsakNaslundBh ? |
Happy to change to that! Also, as this can not go in until next milestone, would not mind to have a quick brainstorm call with you about this in general, and maybe iron out a few things here before merge anyway :) |
sounds great! |
@BHoMBot check core |
Co-authored-by: Josef Taylor <josef.taylor@burohappold.com>
d647d05
to
45f6c68
Compare
@JosefTaylor @alelom I had to rebase and forcepush an update to this PR due to the framework update PR #308 that was merged last week. To be able to retest this, please ensure to delete the branch locally and pull it again. |
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.
The changes make sense to me. Existing functionality is kept. LGTM.
@IsakNaslundBh to confirm, the following checks are now queued:
|
The check |
The check |
The check |
@BHoMBot check ready-to-merge |
@IsakNaslundBh to confirm, the following checks are now queued:
There are 12 requests in the queue ahead of you. |
Issues addressed by this PR
Closes #304
Adds AdapterModule for fetching dependency objects for edgecases where the method in Reflection_Engine can not handle it.
First usecase added for getting Loadcases from LoadCombinations
Test files
Changelog
Additional comments