Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Conversation

@michaeldgraham
Copy link
Collaborator

@michaeldgraham michaeldgraham commented Nov 8, 2020

This PR fixes some issues in the initial implementation of the experimental node mutation API introduced in #531. Given a User node type, the _UserData input object generated for the data argument of Create, Merge, and Update mutations was failing to preserve list type wrappers and nullability. So, Create and Merge now use a new _UserCreate input object, which preserves nullability and Update uses a _UserUpdate input object that keeps arguments optional. In both cases, list type wrappers are preserved, appropriately allowing for list arguments.

Docs update: https://deploy-preview-60--distracted-golick-08ed24.netlify.app/docs/graphql-schema-generation-augmentation#experimental-api

@johnymontana johnymontana merged commit 62db408 into neo4j-graphql:master Nov 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants