Conversation
|
|
This comment was marked as resolved.
This comment was marked as resolved.
PR Code Suggestions ✨Latest suggestions up to eab117d
Previous suggestions✅ Suggestions up to commit a966db5
|
||||||||||||||||||||||||
|
Something is still thinking about is: To some extent our current solution for DI resembles in my eyes a ServiceLocator (see https://www.baeldung.com/java-service-locator-pattern#locator_di ). Is this true? Is this wanted? Don't we have to move to another solution? Do we have to include that in this PR? |
Clarified the approach to dependency injection by specifying the use of a DI framework for JavaFX view models and constructor-based DI for core code. Added analysis of the choice highlighting pros and cons.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
Added a header to the dependency injection decision record.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Corrected grammatical errors in the document.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
What about my comment here, can you comment on this? #14466 (comment) |
Added note on the similarity of afterburnerfx to the ServiceLocator pattern.
This comment has been minimized.
This comment has been minimized.
Removed mention of 'afterburnerfx' and its similarity to the 'ServiceLocator' pattern.
✅ All tests passed ✅🏷️ Commit: 49484d5 Learn more about TestLens at testlens.app. |
Needs more thought from my side:
|
|
I think the pr is good to go The only problem is the koppor's comment |
|
I think your rewording sounds fine. Integrate it. Then merge |
|
JUnit tests of You can then run these tests in IntelliJ to reproduce the failing tests locally. We offer a quick test running howto in the section Final build system checks in our setup guide. |
|
Done |
|
Lets move on here. If something comes up or we learn something new, this can always be revised and updated. |
|
Merging doc without queue |
User description
Closes https://github.com/JabRef/jabref-issue-melting-pot/issues/590
Just added an ADR.
Steps to test
No steps to test. Just check the contents.
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)PR Type
Documentation
Description
Adds ADR 0055 documenting dependency injection strategy
Defines hybrid approach: DI framework for JavaFX views, constructor-based DI for core logic
Explains rationale balancing JavaFX constraints with architectural clarity
Documents decision drivers, options considered, and verification methods
Diagram Walkthrough
File Walkthrough
0055-dependency-injection-approach.md
ADR for hybrid dependency injection approachdocs/decisions/0055-dependency-injection-approach.md
verification methods