Persisting Generic RelationshipEntities

Hey :slight_smile:

I have an a RelationshipEntity that I want to persist, however I get a NullPointerExcpetion in the OGM . The special thing about the Entity is that it is a Generic meaning RelName extends Persistable {}. When the construct to persist is a List of these objects it works, however when I have a simple field of this relationship I get the following error:

at org.neo4j.ogm.context.EntityGraphMapper.mapEntityReferences(
at org.neo4j.ogm.context.EntityGraphMapper.mapEntity(
at org.neo4j.ogm.session.delegates.SaveDelegate.lambda$save$1(
at java.base/java.util.Collections$SingletonList.forEach(

Are Generic Entities somehow supported, am I missing something or is this a known problem that a workaround exists for? I thought maybe one could write a custom converter?