From a3f43f169a5d03f5f69bd19646873d80ce81e61b Mon Sep 17 00:00:00 2001 From: Anastasiya Flynn Date: Tue, 29 Jun 2021 08:53:22 -0400 Subject: [PATCH] Update Next.js sample config - layoutServiceConfiguration="default" (#722) * Update Next.js sample config - layoutServiceConfiguration="default" * Update samples/nextjs/sitecore/config/JssNextWeb.config Co-authored-by: Adam Brauer <400763+ambrauer@users.noreply.github.com> Co-authored-by: Adam Brauer <400763+ambrauer@users.noreply.github.com> --- samples/nextjs/sitecore/config/JssNextWeb.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samples/nextjs/sitecore/config/JssNextWeb.config b/samples/nextjs/sitecore/config/JssNextWeb.config index b39e88ffba..96be7609ac 100644 --- a/samples/nextjs/sitecore/config/JssNextWeb.config +++ b/samples/nextjs/sitecore/config/JssNextWeb.config @@ -81,8 +81,14 @@ Defaults are defined in `/App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.Apps.config` NOTE: graphQLEndpoint enables _Integrated GraphQL_. If not using integrated GraphQL, it can be removed. + + NOTE: layoutServiceConfiguration should be set to "default" when using GraphQL Edge schema. + When using integrated GraphQL with Edge schema, a $language value is injected + since language is required in all Edge queries. "jss" configuration does not do this (which is backwards + compatible with JSS versions < 18.0.0). -->