From 1c480e30d6d93d04e727601d75be9944ed6a95f8 Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Fri, 20 Nov 2020 14:42:36 +0100 Subject: [PATCH] Fixed specified by resolver --- src/HotChocolate/Core/src/Types/Types/Introspection/__Type.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HotChocolate/Core/src/Types/Types/Introspection/__Type.cs b/src/HotChocolate/Core/src/Types/Types/Introspection/__Type.cs index 90865c23346..c980c9fb9f7 100644 --- a/src/HotChocolate/Core/src/Types/Types/Introspection/__Type.cs +++ b/src/HotChocolate/Core/src/Types/Types/Introspection/__Type.cs @@ -125,7 +125,7 @@ type switch public string? GetSpecifiedBy([Parent] IType type) => type is ScalarType scalar - ? scalar.SpecifiedBy.ToString() + ? scalar.SpecifiedBy?.ToString() : null; }