Hotfix/cache self class has one

hi i use identity_cache, found a stack level too deep, cache_has_one, when has_one class_name is self class