@@ -56,16 +56,6 @@ rm config/routes/annotations.yaml
5656rm config/routes.yaml
5757```
5858
59- ### Remove GraphQL schema
60-
61- GraphQL package (` ibexa/graphql ` ) isn't part of the default package list anymore.
62- If you use GraphQL, it can be reinstalled later in the upgrade process.
63- Whatever your situation, its schema is out-dated and must be deleted before going further.
64-
65- ``` bash
66- rm -r config/graphql
67- ```
68-
6959### Remove Stimulus bootstrap
7060
7161Edit ` assets/app.js ` and remove the following lines:
@@ -81,6 +71,16 @@ Delete the bootstrap file:
8171rm assets/bootstrap.js
8272```
8373
74+ ### Remove GraphQL schema
75+
76+ 4.6 GraphQL isn't compatible with 5.0 so delete it.
77+
78+ TODO: Is ` @=resolver ` to ` @=query ` change need to be detailed?
79+
80+ ``` bash
81+ rm -r config/graphql
82+ ```
83+
8484### Update [[ = product_name =]] application
8585
8686#### Update package requirements
@@ -196,10 +196,10 @@ Your `auto-scripts` entry should look like this:
196196#### Post update script
197197
198198``` bash
199- # Manually clear cache to ensure script won't use a piece of it
199+ # Manually clear cache to ensure scripts won't use a piece of it
200200rm -rf var/cache
201201# A.k.a "auto-scripts"
202- ddev composer run-script post-update-cmd
202+ composer run-script post-update-cmd
203203```
204204
205205### Update database
@@ -333,13 +333,13 @@ TODO: Update JS, templates, CSS…
333333TODO: Some old deprecated Webpack file names were supported in 4.6 for backward compatibility; They aren't in 5.0
334334TODO: Conversion tables
335335
336- #### GraphQL
336+ #### Generate GraphQL schema
337337
338- As previously mentioned, GraphQL package (` ibexa/graphql ` ) isn't part of the default anymore.
338+ GraphQL is used by 4.6's Back Office
339+ but isn't used by 5.0's one.
339340
340- If you are using it, add it back :
341+ Optionaly, if you are using GraphQL, generate its schema :
341342
342343``` bash
343- composer require ibexa/graphql
344344php bin/console ibexa:graphql:generate-schema
345345```
0 commit comments