li-boxuan commented on code in PR #1659:
URL: https://github.com/apache/tinkerpop/pull/1659#discussion_r878761723
##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/VertexProgram.java:
##########
@@ -48,6 +50,10 @@
public static final String VERTEX_PROGRAM = "gremlin.vertexProgram";
+ default List<Pair<String, Class>> getVertexPropertyKeys() {
Review Comment:
> It defines COMPONENT when i think it should be property
You are right, I was wrong. I used the default property name in the test so
didn't catch this bug.
> Is there a reason you can't get this information from
getVertexComputeKeys()
Thanks, I totally forgot about it 😅 . That should mostly suffice the use
case I described, except that I am not 100% sure why other vertex programs
don't contain `HALTED_TRAVERSERS` and `ACTIVE_TRAVERSERS` in
`vertexComputeKeys`. Anyways, this PR is not very useful now so I am closing
it. Thank you @mikepersonick and @spmallette for your reviews!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]