2.0.0 Migration

Version 2.0.0 of @neo4j/graphql adds support for relationship properties, with some breaking changes to facilitate these new features. All of the required changes will be on the client side, and this guide will walk through what has changed.

How to Upgrade

Simply update @neo4j/graphql using npm or your package manager of choice:

npm update @neo4j/graphql

From this point on, it is primarily Mutations which will form the bulk of the migration:

  1. Mutations for how you need to change your Mutations to work with the new schema

  2. Unions for how querying union fields has changed in version 2.0.0

  3. Miscellaneous for other changes in version 2.0.0