-
Notifications
You must be signed in to change notification settings - Fork 43
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
Should Partner-related methods be in IPartnershipFactory
?
#9
Comments
Hi Jochen! Concerning the Mongo Partnership: I'd be happy to add this. I would create a separate Maven module (like Thanks, Philip |
Not yet, but I wanted to write one anyway. I'm not too familiar with Maven and JUnit anymore, I usually do Gradle/Spock these days. |
Do you want to keep the other methods, like |
They do make sense in certain ways. I extracted a sub-interface |
Yes, it does the trick, thanks. |
Well good point. I introduced a class But you are absolutely right that this construct is only used within XML. For the rest, the |
This is rather a question than an actual issue.
I wonder if the Partner-related methods and classes (e.g.
PartnerMap
) should be moved toXMLPartnershipFactory
. AFAICT, the whole "Partner" concept is currently local to the XML configuration, the rest of the code seems to work with complete Partnerships.I'm asking because I have created a custom IPartnershipFactory that stores partnerships in a MongoDB collection (I could contribute the code if you're interested) and was confused that I had to implement all those methods but they were never called from anywhere.
The text was updated successfully, but these errors were encountered: