diff --git a/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java b/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java index fcda4f31..421816fe 100644 --- a/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java +++ b/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java @@ -132,7 +132,7 @@ public class PropertyUtils { return METADATA_CACHE.computeIfAbsent(type, it -> { - ResolvableType domainType = unwrapDomainType(type); + ResolvableType domainType = unwrapDomainType(it); Class resolved = domainType.resolve(Object.class); return Object.class.equals(resolved) //