jseg
jseg copied to clipboard
Re-putting whole graph loses data on relationships
Where the root object has a one-to-many field, do this:
g.put(g.get(lid, {depth: 0}))
Should be a no-op, but clears the one-to-many field.