diff --git a/Squidex.sln b/Squidex.sln index 1dc2f5161..8ba487e78 100644 --- a/Squidex.sln +++ b/Squidex.sln @@ -56,8 +56,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Squidex.Domain.Users.MongoD EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Squidex.Domain.Users.Tests", "tests\Squidex.Domain.Users.Tests\Squidex.Domain.Users.Tests.csproj", "{42184546-E3CB-4D4F-9495-43979B9C63B9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GraphQL", "C:\Users\mail2\Downloads\graphql-dotnet\src\GraphQL\GraphQL.csproj", "{A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -268,18 +266,6 @@ Global {42184546-E3CB-4D4F-9495-43979B9C63B9}.Release|x64.Build.0 = Release|Any CPU {42184546-E3CB-4D4F-9495-43979B9C63B9}.Release|x86.ActiveCfg = Release|Any CPU {42184546-E3CB-4D4F-9495-43979B9C63B9}.Release|x86.Build.0 = Release|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Debug|x64.ActiveCfg = Debug|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Debug|x64.Build.0 = Debug|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Debug|x86.ActiveCfg = Debug|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Debug|x86.Build.0 = Debug|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Release|Any CPU.Build.0 = Release|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Release|x64.ActiveCfg = Release|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Release|x64.Build.0 = Release|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Release|x86.ActiveCfg = Release|Any CPU - {A28051B9-C4A7-4B3D-9426-CD3A1342F4FA}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Squidex.Domain.Apps.Read/Contents/GraphQL/Types/ContentDataGraphType.cs b/src/Squidex.Domain.Apps.Read/Contents/GraphQL/Types/ContentDataGraphType.cs index cc345b87b..0295db2de 100644 --- a/src/Squidex.Domain.Apps.Read/Contents/GraphQL/Types/ContentDataGraphType.cs +++ b/src/Squidex.Domain.Apps.Read/Contents/GraphQL/Types/ContentDataGraphType.cs @@ -6,6 +6,7 @@ // All rights reserved. // ========================================================================== +using System.Linq; using GraphQL.Resolvers; using GraphQL.Types; using Squidex.Domain.Apps.Core.Contents; @@ -27,7 +28,7 @@ namespace Squidex.Domain.Apps.Read.Contents.GraphQL.Types Name = $"{schema.Name.ToPascalCase()}DataDto"; - foreach (var field in schema.Fields) + foreach (var field in schema.Fields.Where(x => !x.IsHidden)) { var fieldInfo = graphQLContext.GetGraphType(field);