[
https://issues.apache.org/jira/browse/TINKERPOP-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112773#comment-15112773
]
ASF GitHub Bot commented on TINKERPOP-818:
------------------------------------------
Github user okram commented on the pull request:
https://github.com/apache/incubator-tinkerpop/pull/206#issuecomment-173991134
You implemented `Compare` not `P`. If we do `type`, it needs to be a
`P`-predicate. (and still assuming we want this...). I just haven't seen anyone
(nor myself) ever need this functionality. And its bad to add functionality
with limited use cases. Perhaps we wait until there is a stress for it AND we
know all the ways in which it will be used. For example -- by doing this, we
are assuming the Java-type system. This may be bad for Gremlin VM in other
languages.
> Consider a P.type()
> -------------------
>
> Key: TINKERPOP-818
> URL: https://issues.apache.org/jira/browse/TINKERPOP-818
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.0.2-incubating
> Reporter: stephen mallette
> Assignee: Daniel Kuppitz
> Priority: Minor
> Fix For: 3.1.1-incubating
>
>
> A predicate that checks the type of the value passing through the traversal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)