I want to get all v's s.t v.id == v.prop1 for some property named prop1 (which has a string value).
I'm able to compare 2 props of the same vertex thanks to this answer using:
g.V().as('v').where(eq('v')).by('prop1').by('prop2')
but using:
g.V().as('v').where(eq('v')).by(id()).by('prop1')
Doesn't work and returns an empty response.
After a quick investigation I realized that the equality check fails due to UUID not being the same type as string. I also saw one approach to change the configuration on how gremlin calculates equality.
Is there any way to do that without changing the configuration of my graph? Thanks.