Stephen Mallette created TINKERPOP-2611:
-------------------------------------------

             Summary: Prevent property(id,null) 
                 Key: TINKERPOP-2611
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2611
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.5.1
            Reporter: Stephen Mallette


for {{g.addV().property(id,null)}} isn't quite the same as the {{String}} key 
version because the {{id}} can't be {{null}} and it can't behave like a removal 
for graphs that don't support null values. allow this might also create hard to 
figure out bugs where a variable for the {{id}} gets set to {{null}} 
accidentally and random data gets created rather than getting an error. 

at this time, there is a test that enforces this behavior so to remove that 
changes behavior which means we probably need to save this for a breaking 
change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to