diff --git a/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/ContentGraphType.cs b/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/ContentGraphType.cs index 31f68a324..b10f2bce2 100644 --- a/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/ContentGraphType.cs +++ b/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/ContentGraphType.cs @@ -95,6 +95,14 @@ namespace Squidex.Domain.Apps.Entities.Contents.GraphQL.Types Resolver = Resolve(x => x.Data), Description = $"The data of the {schemaName} content." }); + + AddField(new FieldType + { + Name = "dataDraft", + ResolvedType = new NonNullGraphType(contentDataType), + Resolver = Resolve(x => x.DataDraft), + Description = $"The draft data of the {schemaName} content." + }); } Description = $"The structure of a {schemaName} content type.";