So I'm trying to extend the person entity and based on Rastin's suggestion, it'd be best to do this by injecting a behavior. I've created the following plugin to inject a behavior:#file-ranks-php
And then created the following behavior:#file-rankable-php
I've tested that the behavior does get injected into the entity correctly, but after I added the resource and attribute, I get an error "Property seniorMember is mapped to an invalid column for entity com://site/people.domain.entity.person".
The only thing that I can think that's causing this is that the behavior isn't getting injected before the repository is instantiated, but idk. Any ideas would be appreciated.