gjrwebber / spring-data-gremlin

Spring data gremlin makes it easier to implement Graph based repositories. This module extends Spring Data to allow support for potentially any Graph database that implements the Tinkerpop Blueprints 2.x API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better support for generics

gjrwebber opened this issue · comments

Currently, properties of a generic superclass of a vertex class are not handled correctly or at all.

public abstract class Base<T> {
    @Link
    private T something;
    @Link
    private Set<T> somethings;
}

Properties something and somethings are not being handled, forcing each subclass to replicate those properties.