From 67cca4dc9547eb359a5dedb86b37163dba3edc72 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Thu, 2 Dec 2021 10:53:28 +1300 Subject: [PATCH 1/2] DOCS: Add clearer instructions for prerelease installation --- .../19_GraphQL/01_getting_started/index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md b/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md index c84ff74cecf..cf5e8d44e98 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md @@ -9,6 +9,18 @@ icon: rocket This section of the documentation will give you an overview of how to get a simple GraphQL API up and running with some dataobject content. +## Installing on silverstripe/recipe-cms < 4.11 + +The 4.8 - 4.10 releases of `recipe-cms` support both versions `3` and `4.0.0-alpha` versions of this module. Using the alpha (or beta) releases requires inlining the recipe and updating the `silverstripe/graphql` version. + +You can inline silverstripe/recipe-cms by running this command: + +``` +composer update-recipe silverstripe/recipe-cms +``` + +Alternatively, you can remove `silverstripe/recipe-cms` from your root `composer.json` and replace it with the the contents of the `composer.json` in `silverstripe/recipe-cms`. + [alert] You are viewing docs for a pre-release version of silverstripe/graphql (4.x). Help us improve it by joining #graphql on the [Community Slack](https://www.silverstripe.org/blog/community-slack-channel/), From bd97db166bb011c55021f20b7e9f29931b412950 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Thu, 2 Dec 2021 11:20:20 +1300 Subject: [PATCH 2/2] Update docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md Co-authored-by: Michal Kleiner --- .../02_Developer_Guides/19_GraphQL/01_getting_started/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md b/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md index cf5e8d44e98..d92c904582c 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md @@ -19,7 +19,7 @@ You can inline silverstripe/recipe-cms by running this command: composer update-recipe silverstripe/recipe-cms ``` -Alternatively, you can remove `silverstripe/recipe-cms` from your root `composer.json` and replace it with the the contents of the `composer.json` in `silverstripe/recipe-cms`. +Alternatively, you can remove `silverstripe/recipe-cms` from your root `composer.json` and replace it with the contents of the `composer.json` in `silverstripe/recipe-cms`. [alert] You are viewing docs for a pre-release version of silverstripe/graphql (4.x).