You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a type Account extends AuditableEntity<Long> where AuditableEntity<Long> extends IdentifiableAdapter<Long> where IdentifiableAdapter<Long> implements Identifiable<Long>.
In this method determineTypeArguments returns a map or one entry: "T"(AuditableEntity) to Long. But then on this map [type] is used which returns null because the type is "T"(Identifiable).
This is kinda confusing but I am pretty sure this should just recognize the Long and return it.
I know I am not supposed to use raw JPA entities for mapping here and will just use DTOs and this will probably go away, but still looks like a bug though
@Sam-Kruglov Is it possible to share a code snippet that could be used for a unit test to reproduce this bug so we have a concrete use case to fix it with?
Activity
oliemansm commentedon Jan 10, 2019
@Sam-Kruglov Is it possible to share a code snippet that could be used for a unit test to reproduce this bug so we have a concrete use case to fix it with?