• Getting Started
  • Developer Guides
  • Optional features
    • Advanced Workflow
    • Elemental blocks
    • Content Localisation with Fluent
    • GraphQL
      • Getting started
      • Working with DataObject models
        • Adding DataObject models to the schema
        • DataObject query plugins
        • DataObject operation permissions
        • DataObject inheritance
        • Versioned content
        • Property mapping and dot syntax
        • Nested type definitions
      • Working with generic types
      • Security & best practices
      • Plugins
      • Extending the schema
      • Tips & Tricks
      • Architecture Diagrams
    • GridField Bulk Editing Tools
    • GridField Extensions
    • TinyMCE HTML editor
    • Linkfield
    • Login forms
    • Multi-factor authentication (MFA)
    • Queued Jobs
    • RealMe
    • Static Publish Queue
    • TagField
    • Taxonomies
    • Text Extraction
    • TOTP Authenticator
    • UserForms
  • Upgrading
  • Changelogs
  • Contributing
  • Project Governance
  1. Optional features
  2. GraphQL
  3. Working with DataObject models
Version 6Supported

Working with DataObject models#

In this section of the documentation, we'll cover adding DataObjects to the schema, exposing their fields, and adding read/write operations. We'll also look at some of the plugins that are available to DataObjects like sorting, filtering, and pagination, as well as some more advanced concepts like permissions, inheritance and property mapping.

Adding DataObject models to the schema

An overview of how the DataObject model can influence the creation of types, queries, and mutations

DataObject query plugins

Learn about some of the useful goodies that come pre-packaged with DataObject queries

DataObject operation permissions

A look at how permissions work for DataObject queries and mutations

DataObject inheritance

Learn how inheritance is handled in DataObject model types

Versioned content

A guide on how DataObject models with the Versioned extension behave in GraphQL schemas

Property mapping and dot syntax

Learn how to customise field names, use dot syntax, and use aggregate functions

Nested type definitions

Define dependent types inline with a parent type

Edit on GitHub