atomist-attic / rug

DEPRECATED Runtime for Rugs
GNU General Public License v3.0
53 stars 13 forks source link

Null fields in GraphNodes should be undefined in JavaScript #644

Closed kipz closed 7 years ago

kipz commented 7 years ago

They are currently set to null - which is inconsistent with how one would expect to test outside of rug (checking of undefined instead).

kipz commented 7 years ago

In APIs, null is often retrieved in a place where an object can be expected but no object is relevant.

Closing...