Type Definitions

  • Basics - Learn how to define your nodes and relationships using GraphQL type definitions.

  • Types - Learn about the various data types available in the Neo4j GraphQL Library.

  • Unions - Learn about GraphQL unions and how they map to the Neo4j database.

  • Interfaces - Learn about GraphQL interfaces and how they map to the Neo4j database.

  • Relationships - Learn more about defining relationships using the Neo4j GraphQL Library.

  • Access Control - Learn about how to restrict access to certain types or fields.

  • Autogeneration - Learn about certain types which you can enable autogeneration of values for.

  • @cypher directive - Learn about how to add custom Cypher to your type definitions.

  • Default Values - Learn about different ways of setting default values for particular fields.

  • Database Mapping - Learn how to map the GraphQL Schema fields to custom Neo4j node and relationship properties.

  • Indexes and Constraints - Learn how to use schema directives to add indexes and constraints to your Neo4j database.

  • Infer GraphQL Type Definitions - If you have an existing database, you can learn how to automatically generate the type definition file from that.