Skip to content

Commit

Permalink
Update RAV configs to include layoutServiceConfiguration (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
CobyPear authored Aug 17, 2021
1 parent e9bece0 commit c6720d7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/angular/sitecore/config/JssAngularWeb.config
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,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).
-->
<app name="JssAngularWeb"
layoutServiceConfiguration="default"
sitecorePath="/sitecore/content/JssAngularWeb"
inherits="defaults"
useLanguageSpecificLayout="true"
Expand Down
6 changes: 6 additions & 0 deletions samples/react/sitecore/config/JssReactWeb.config
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,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).
-->
<app name="JssReactWeb"
layoutServiceConfiguration="default"
sitecorePath="/sitecore/content/JssReactWeb"
useLanguageSpecificLayout="true"
graphQLEndpoint="/sitecore/api/graph/edge"
Expand Down
6 changes: 6 additions & 0 deletions samples/vue/sitecore/config/JssVueWeb.config
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,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).
-->
<app name="JssVueWeb"
layoutServiceConfiguration="default"
sitecorePath="/sitecore/content/JssVueWeb"
useLanguageSpecificLayout="true"
graphQLEndpoint="/sitecore/api/graph/edge"
Expand Down

0 comments on commit c6720d7

Please sign in to comment.