contentful/contentful.java

com.contentful.java.cda.CDAEntry#contentType returns incorrect content type due to stale cache

Opened this issue · 0 comments

The client contains an internal cache of content types. This cache becomes stale if the content model is changed, with the result that the com.contentful.java.cda.CDAEntry#contentType method returns an incorrect content type that doesn't align with com.contentful.java.cda.LocalizedResource#rawFields .

It seems like the cache should include the revision of the content type in the cache key.