-
Notifications
You must be signed in to change notification settings - Fork 2.3k
1440 rest parameterized type reference #1546
1440 rest parameterized type reference #1546
Conversation
|
sadly this can't be merged yet as we have some issues with importing of generic classes e.g. |
|
Good news! I found what was the problem with |
|
This should also fix the multiple imports of the ParameterizedTypeReference. :D |
|
rebased to fix the merge conflict with the ResponseErrorHanlder PR |
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.
You can call getEnvironment directly instead of holder.getEnvironment().
This way, you don't need to give the holder as a parameter of the method.
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.
done
|
It seems okay. Could you address my two comments ? |
|
PR updated |
Generic response class is natively supported in Spring for Android 2.0. This commit utilize that support, if it is available in the reponse class is generic. It falls back to the old implementation otherwise.
1440 rest parameterized type reference
|
Great ! Thanks. |
|
It seems my very important commit was left out. :S |
|
I added that directly to |
extension/fix of PR #1467
related to issue #1440