Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROD-31109: Feature/graphql 4.9.0 #4191

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"Add relationship to flagged entities when Flagging is base table": "https://www.drupal.org/files/issues/2021-11-08/2723703-76.patch"
},
"drupal/graphql": {
"Issue #3191622: Remove leaked cache metadata check until Open Social properly avoids leaking cache metadata in entity query connections": "https://www.drupal.org/files/issues/2022-11-01/3191622-Implement-cache-metadata-for-ConnectionQueryHelperInterface-3.patch"
"Issue #3191622: Remove leaked cache metadata check until Open Social properly avoids leaking cache metadata in entity query connections": "https://www.drupal.org/files/issues/2022-11-01/3191622-Implement-cache-metadata-for-ConnectionQueryHelperInterface-3.patch",
"Issue #3488581: example/composable_extension.base.graphqls loaded in schema when module disabled" : "https://git.drupalcode.org/project/graphql/-/merge_requests/14/diffs.patch"
},
"drupal/group": {
"Missing config schema for condition.plugin.group_type": "https://www.drupal.org/files/issues/2018-12-14/group-group_type_condition_plugin_config_schema-3020554-2.patch",
Expand Down Expand Up @@ -142,7 +143,7 @@
"drupal/flexible_permissions": "2.0.1",
"drupal/gin": "3.0.0-rc13",
"drupal/ginvite": "3.0.0-beta4",
"drupal/graphql": "4.6.0",
"drupal/graphql": "4.9.0",
"drupal/graphql_oauth": "1.0.0-alpha3",
"drupal/group": "2.3.0",
"drupal/hux": "1.6.0",
Expand Down
14 changes: 12 additions & 2 deletions modules/custom/social_graphql/graphql/open_social.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ API from which all subscriptions must start.

A real-time process must be implemented and deployed to support subscriptions.
"""
type Subscription
type Subscription {
"""
Type Subscription can not be empty, so we add an empty field.
"""
_empty: String
}

################################################################################
# Basic Types #
Expand Down Expand Up @@ -311,7 +316,12 @@ interface Connection {
"""
The base mutation type.
"""
type Mutation
type Mutation {
"""
Type Mutation can not be empty, so we add an empty field.
"""
_empty: String
}

"""
A violation indicates an error in the GraphQL query or other incorrect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ abstract class SocialGraphQLTestBase extends GraphQLTestBase {
*/
protected static $modules = [
"entity",
"file",
"social_graphql",
];

Expand Down
Loading