neode icon indicating copy to clipboard operation
neode copied to clipboard

Node Validation on Schema Update

Open alex-laycalvert opened this issue 2 years ago • 0 comments

In a project I'm working on, I've recently had to add a new field to an existing SchemaObject. I set it to be required and a default value of false since it's a boolean. It looks like there wasn't any validation fixing to change any existing nodes in the graph which meant that a large amount of the new queries (using cypher) wouldn't return the expected results.

Is there any current way to automatically update any nodes in the graph that don't match the existing schema with their default values if provided or any interest in adding this?

I haven't looked if this happens with the built in match and query methods since the ones we needed to user we had to use a regular Cypher query.

Thanks.

alex-laycalvert avatar Apr 28 '23 13:04 alex-laycalvert