mumutu
mumutu
ATApache TinkerPop
Created by mumutu on 2/14/2023 in #questions
Generated DSL related
I am new to gremlin and I am struggling with a problem with custom dsl. Followed with example I can create a socialTraversalDSL to provide user to use, something like g.person("one").knows("another") it's good, but how to change the Traversal type when the given step is changed. e.g . another TwitterTraversalDSL.and user can do something like g.person("one").twitter().follows("another") when follows step is not a part of socialTraversalDSL ..How can I achieve this with java ~ looking forward to your reply
6 replies