Edge properties in arrow notation

in the classic arrow notation like below:
MATCH
{class:Person, as:A} -FriendOf-> {class:Person, as:B}
RETURN A.name as name, B.name as friendName

how can I access FriendOf properties? (Can I ?) (like RETURN FriendOf.since)

Thanks.

Hi @tolgaulas

you cannot access edge properties using arrow notation, you have to use the explicit method notation instead:

MATCH
{class:Person, as:A}.outE("FriendOf"){as:theEdge}.inV(){class:Person, as:B}
RETURN A.name as name, B.name as friendName, theEdge.anyPropertyName

I hope it helps

Thanks

Luigi

Thanks @luigidellaquila, as I was expected. Is it planned to enhance it for making able to access to them or is it intentional to leave it as is?

Hi @tolgaulas

For now there are no plans to enhance it

Thanks

Luigi