-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Given a simple data model as follows:
interface Person {
Collection<Person> getFriends()
}and a Cypher Query
MATCH ()-[r]->() RETURN r
or Gremlin Query
g.V.outE()
an XOException will be thrown
Cannot resolve relation from discriminator 'FRIENDS'
what is absolutely right because the relationship is untyped. But I wonder if it wouldn't be better to return some kind of "untyped relationship" object that only contains getId() and possibly getFrom() and getTo().