GraphQL Representation

Last modified: March 28, 2025

Introduction

This document describes how entities are represented in a published GraphQL service.

A GraphQL service's response content type is application/json with character set UTF-8.

Attributes

Mendix Data TypeGraphQL Type
ID (not supported)
AutoNumberLong (a scalar defined in the schema)
Binary (not supported)
BooleanBoolean
Date and timeDateTime, as specified by GraphQL DateTime Scalar spec
DecimalDecimal (a scalar defined in the schema)
EnumerationEnum (defined in the schema)
Hashed stringString
IntegerInt
LongLong (a scalar defined in the schema)
StringString

Associations

In GraphQL, a published association is represented as a field with an object or list type.