Skip to content

Commit 80f762e

Browse files
committed
Do not export schema on production
1 parent cad4a4f commit 80f762e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Defaults/SourceSchemaDefaults/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static IRequestExecutorBuilder AddDefaultSettings(
2020
builder.AddQueryContext();
2121
builder.ModifyCostOptions(x => x.EnforceCostLimits = false);
2222

23-
if (Production.Equals(environmentName, StringComparison.OrdinalIgnoreCase))
23+
if (!Production.Equals(environmentName, StringComparison.OrdinalIgnoreCase))
2424
{
2525
builder.ExportSchemaOnStartup();
2626
}

0 commit comments

Comments
 (0)