Github user robertdale commented on the issue:

    https://github.com/apache/tinkerpop/pull/446
  
    This is interesting. I was unaware of some or didn't understand some 
implementation details. Taking a step back and looking at this again, I wonder 
if the original intent is more correct. Sorry @JPMoresmau  
    :smiley:
    
    We have to ask what is the purpose of `Hidden`? And what is the purpose of 
`T.*.getAccessor()`?  Looks like `Has` step internally use `T.*.getAccessor()` 
for equality tests. Is this more of an internal method or should it be exposed?
    
    Ultimately, the question is with what or how do we expect to access `T` 
tokens in a value map?
    
    Given: `map = g.V().valueMap(true).next()`
    
    Access by: `map.get(T.id)`  **or** `map.get(T.id.getAccessor())`?
    
    If the answer is `T.id` then the interface must be <Object,Object>
    
    If the answer is `T.id.getAccessor()` then the interface must be 
<String,Object>
    
    In either case, there is no conflict between system-level `T` tokens (e.g. 
`T.id`), as these are either Enum or `Hidden`, and user-level strings (e.g. 
`id`).  
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to