Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node Validation on Schema Update #176

Open
alex-laycalvert opened this issue Apr 28, 2023 · 0 comments
Open

Node Validation on Schema Update #176

alex-laycalvert opened this issue Apr 28, 2023 · 0 comments

Comments

@alex-laycalvert
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant