Skip to main content



This handler allows you to use GraphQL schema created by neo4j-graphql-js.

To get started, install the handler library from NPM:

$ yarn add @graphql-mesh/neo4j

Now, you can use it directly in your Mesh config file:

- name: Neo4j
url: neo4j://localhost
username: neo4j
password: MY_PASSWORD

You can check out our example that uses Neo4j handler. Click here to open the example on GitHub

Config API Reference#

  • url (type: String, required) - URL for the Neo4j Instance e.g. neo4j://localhost
  • username (type: String, required) - Username for basic authentication
  • password (type: String, required) - Password for basic authentication
  • alwaysIncludeRelationships (type: Boolean) - Specifies whether relationships should always be included in the type definitions as relationship types, even if the relationships do not have properties.
  • database (type: String) - Specifies database name
  • typeDefs (type: String) - Provide GraphQL Type Definitions instead of inferring