From 0bd7a962253eb5753dd07217874dc36363be6ed4 Mon Sep 17 00:00:00 2001 From: Glen Date: Tue, 17 Dec 2024 11:48:01 +0200 Subject: [PATCH] Fixed parameter order in OutputFieldTypesNotMergeable method --- .../src/Fusion.Composition/Logging/LogEntryHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HotChocolate/Fusion-vnext/src/Fusion.Composition/Logging/LogEntryHelper.cs b/src/HotChocolate/Fusion-vnext/src/Fusion.Composition/Logging/LogEntryHelper.cs index a026e7d3468..15bda6cc934 100644 --- a/src/HotChocolate/Fusion-vnext/src/Fusion.Composition/Logging/LogEntryHelper.cs +++ b/src/HotChocolate/Fusion-vnext/src/Fusion.Composition/Logging/LogEntryHelper.cs @@ -76,12 +76,12 @@ public static LogEntry DisallowedInaccessibleDirectiveArgument( new SchemaCoordinate(directiveName, argumentName: argument.Name, ofDirective: true), schema: schema); - public static LogEntry OutputFieldTypesNotMergeable(string typeName, string fieldName) + public static LogEntry OutputFieldTypesNotMergeable(string fieldName, string typeName) => new( string.Format( LogEntryHelper_OutputFieldTypesNotMergeable, - typeName, - fieldName), + fieldName, + typeName), LogEntryCodes.OutputFieldTypesNotMergeable, LogSeverity.Error, new SchemaCoordinate(typeName, fieldName));