GitHub user okram opened a pull request:

    https://github.com/apache/tinkerpop/pull/560

    TINKERPOP-1554: has(propertyKey) should have a corresponding step in 
Gremlin-Java.

    https://issues.apache.org/jira/browse/TINKERPOP-1554
    
    Currently `has('name')` compiles to `filter(values('name'))`. Its a used 
enough "step" that it should really have its own direct step compilation for 
efficiency, understability, and ease of strategy manipulation.
    
    VOTE +1.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1554

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/560.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #560
    
----
commit 6fa8aa6bb0504ba5e3408a0fb7a5df31b26912ac
Author: Marko A. Rodriguez <[email protected]>
Date:   2017-02-16T20:13:24Z

    added HasPropertyStep so has(key) no longer compiles to 
filter(values(key)). Its a used enough step that it should really have its own 
direct step compilation.

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to