From 0594d455174c36a15e35974ad283d524c4348fb0 Mon Sep 17 00:00:00 2001 From: Glen Date: Mon, 2 Mar 2026 12:23:19 +0200 Subject: [PATCH] Fix template issues and change default framework to net10.0 --- templates/azure-function/.template.config/template.json | 4 ++-- templates/gateway/.template.config/template.json | 4 ++-- templates/gateway/HotChocolate.Template.Gateway.csproj | 2 +- templates/server/.template.config/template.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/azure-function/.template.config/template.json b/templates/azure-function/.template.config/template.json index 2dba1886901..45835ae8f46 100644 --- a/templates/azure-function/.template.config/template.json +++ b/templates/azure-function/.template.config/template.json @@ -1,5 +1,5 @@ { - "$schema": "http://json.schemastore.org/template", + "$schema": "https://json.schemastore.org/template", "author": "Michael Staib", "classifications": ["Web", "GraphQL", "Azure"], "identity": "HotChocolate.Template.AzureFunctions", @@ -33,7 +33,7 @@ } ], "replaces": "net8.0", - "defaultValue": "net8.0" + "defaultValue": "net10.0" } }, "postActions": [ diff --git a/templates/gateway/.template.config/template.json b/templates/gateway/.template.config/template.json index 35c968d3d86..adffd5709cc 100644 --- a/templates/gateway/.template.config/template.json +++ b/templates/gateway/.template.config/template.json @@ -1,5 +1,5 @@ { - "$schema": "http://json.schemastore.org/template", + "$schema": "https://json.schemastore.org/template", "author": "Michael Staib", "classifications": ["Web", "GraphQL"], "identity": "HotChocolate.Template.Gateway", @@ -33,7 +33,7 @@ } ], "replaces": "net8.0", - "defaultValue": "net8.0" + "defaultValue": "net10.0" } }, "postActions": [ diff --git a/templates/gateway/HotChocolate.Template.Gateway.csproj b/templates/gateway/HotChocolate.Template.Gateway.csproj index bc58dac4d37..789ba3121df 100644 --- a/templates/gateway/HotChocolate.Template.Gateway.csproj +++ b/templates/gateway/HotChocolate.Template.Gateway.csproj @@ -1,7 +1,7 @@ - net9.0 + net8.0 enable enable diff --git a/templates/server/.template.config/template.json b/templates/server/.template.config/template.json index 1d052edb373..415c088406d 100644 --- a/templates/server/.template.config/template.json +++ b/templates/server/.template.config/template.json @@ -1,5 +1,5 @@ { - "$schema": "http://json.schemastore.org/template", + "$schema": "https://json.schemastore.org/template", "author": "Michael Staib", "classifications": ["Web", "GraphQL"], "identity": "HotChocolate.Template.Server", @@ -33,7 +33,7 @@ } ], "replaces": "net8.0", - "defaultValue": "net8.0" + "defaultValue": "net10.0" } }, "postActions": [