-
Notifications
You must be signed in to change notification settings - Fork 163
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
Missing mapping for some Issue API response items #364
Comments
my recommendation would be to submit this suggestion on redmine.org forum and see if anyone wants to contribute to this library. |
Thanks for the quick reply @alexeyOnGitHub. Would it be okay if I create a PR to update the above mentioned bean? Edit: |
sure, please include some tests demonstrating that the fix works. |
I've filed a PR containing the changes/updates I've made. Please check the ff. link. |
Just a question, would it still be possible to introduce the same changes to v3? |
my recommendation would be to migrate to Java 14+ at this point if at all possible. Java 8 has been EOL for years now. |
@alexeyOnGitHub Regarding EOL for Java 8, please see my comment on #353 Besides, I can understand that you can not give the project full attention and appreciate your ongoing involvement. @francton14 Changes are good that 4.0.x is still building against Java with minor modifications to the build setup. |
@stolp if some Redmine team wants to take over this library, they are welcome to make whatever changes they feel right - remove Java 11, drop the fluent-style API and get back to the old style, etc. it is hard for me to imagine requirements for this library if I no longer actively use it. just out of curiosity - what is the reason that is stopping you from migrating your projects to at least JDK 11? it should be available on all platforms, and its backward compatibility is pretty good. |
@alexeyOnGitHub I finally took the step from migrating my project to Java 11 a few months ago, so I currently have no personal stake in a backport to Java 8. This product now depends on over 350 other external libraries, so a runtime migration had to be a huge planned effort. Although it may possible easier next time, I am not eager to go to next LTS (17) any time soon. Being through this, I can feel the pain others like @francton14 may have to go through porting their projects just because a downstream library decided to up their requirements. The friendliest way for utility libraries is to keep their own runtime requirements as low as possible to make life as easy as possible on their consumers. Look for example at the Apache Commons or Spring libraries. They typically depend on Java 8 (or sometimes even lower) but do work with later versions. Hence my suggestion and offer to work in that direction. I just like too see this code as usable as possible for everyone. This is not the only project where I am advocating this defensive approach. |
The ff. Redmine API response items are not being mapped or ignored in the current implementation.
May I ask if the above fields be included in the mapping of the API response to an Issue bean?
The text was updated successfully, but these errors were encountered: