The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

Neo4j

image

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:

sources:
- name: Neo4j
handler:
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