Skip to content

Conversation

@cmercer
Copy link
Collaborator

@cmercer cmercer commented Apr 4, 2019

AbstractJacksonFieldSnipplet.java

  • Updated to deal with superclass generic return type

JacksonResponseFieldSnippetTest.java

  • Updated test objects to add super classes and interfaces
  • Added genericSuperMethod() test

AbstractJacksonFieldSnipplet.java
- Updated to deal with superclass generic return type

JacksonResponseFieldSnippetTest.java
- Updated test objects to add super classes and interfaces
- Added genericSuperMethod() test
@cmercer cmercer requested review from loganm27 and scottresnik April 4, 2019 22:06
@cmercer cmercer self-assigned this Apr 4, 2019
@loganm27
Copy link

loganm27 commented Apr 5, 2019

Surprised that generics weren't supported out of the box...

@cmercer
Copy link
Collaborator Author

cmercer commented Apr 5, 2019

Generics were partially supported.
Returning a typed List for example worked fine.

List<Item> getItems()

but getting the type from superclass/interfaces didn't work.

@cmercer cmercer merged commit e578fbd into master Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants