-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing
develop
issues, due to drush being locked in dpl_graphql
Copying the `dpl_graphql` code to a seperate, new `dpl_graphql2` module. This is necessary, as the original graphql module includes code that does not work without simple_oauth, which cannot be installed, due to the Drush command not being able to run. We get around this, by moving the code into a new module (graphql2), leaving the old module as an empty boilerplate. This gives drush a chance to actually enable the dependencies. In a future release, we should rename the module again.
- Loading branch information
Showing
11 changed files
with
46 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
name: 'DPL GraphQL' | ||
name: 'DPL GraphQL (UNUSED)' | ||
type: module | ||
description: 'Module used for handling graphql functionality.' | ||
description: | | ||
This is an empty module, necessary to get around a temporary issue | ||
in release 2024.48.0. See dpl_update.install for more info.' | ||
package: DPL | ||
core_version_requirement: ^10 || ^11 | ||
dependencies: | ||
- graphql:graphql | ||
- graphql_compose:graphql_compose | ||
- dpl_unilogin:dpl_unilogin | ||
- simple_oauth:simple_oauth | ||
- dpl_consumers:dpl_consumers |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: 'DPL GraphQL' | ||
type: module | ||
description: 'Module used for handling graphql functionality.' | ||
package: DPL | ||
core_version_requirement: ^10 || ^11 | ||
dependencies: | ||
- graphql:graphql | ||
- graphql_compose:graphql_compose | ||
- dpl_unilogin:dpl_unilogin | ||
- simple_oauth:simple_oauth | ||
- dpl_consumers:dpl_consumers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
services: | ||
dpl_graphql2.page_cache_request_policy.disallow_oauth2_token_requests: | ||
class: Drupal\dpl_graphql2\PageCache\DplDisallowSimpleOauthRequests | ||
decorates: simple_oauth.page_cache_request_policy.disallow_oauth2_token_requests |
2 changes: 1 addition & 1 deletion
2
...eCache/DplDisallowSimpleOauthRequests.php → ...eCache/DplDisallowSimpleOauthRequests.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nsion/DplConfigurationSchemaExtension.php → ...nsion/DplConfigurationSchemaExtension.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters