Commit 78deb796 authored by Alex Kalderimis's avatar Alex Kalderimis

Merge branch '328766-remove-graphql-subscripitons-from-reference-docs' into 'master'

Exclude subscriptions from GraphQL docs

See merge request gitlab-org/gitlab!60109
parents 97503fd0 ab2ac0cc
...@@ -11900,22 +11900,6 @@ Represents the Geo sync and verification state of a snippet repository. ...@@ -11900,22 +11900,6 @@ Represents the Geo sync and verification state of a snippet repository.
| <a id="submoduletype"></a>`type` | [`EntryType!`](#entrytype) | Type of tree entry. | | <a id="submoduletype"></a>`type` | [`EntryType!`](#entrytype) | Type of tree entry. |
| <a id="submoduleweburl"></a>`webUrl` | [`String`](#string) | Web URL for the sub-module. | | <a id="submoduleweburl"></a>`webUrl` | [`String`](#string) | Web URL for the sub-module. |
### `Subscription`
#### Fields with arguments
##### `Subscription.issuableAssigneesUpdated`
Triggered when the assignees of an issuable are updated.
Returns [`Issuable`](#issuable).
###### Arguments
| Name | Type | Description |
| ---- | ---- | ----------- |
| <a id="subscriptionissuableassigneesupdatedissuableid"></a>`issuableId` | [`IssuableID!`](#issuableid) | ID of the issuable. |
### `TaskCompletionStatus` ### `TaskCompletionStatus`
Completion status of tasks. Completion status of tasks.
......
...@@ -347,7 +347,7 @@ module Gitlab ...@@ -347,7 +347,7 @@ module Gitlab
mutations = schema.mutation&.fields&.keys&.to_set || [] mutations = schema.mutation&.fields&.keys&.to_set || []
graphql_object_types graphql_object_types
.reject { |object_type| object_type[:name]["__"] } # We ignore introspection types. .reject { |object_type| object_type[:name]["__"] || object_type[:name] == 'Subscription' } # We ignore introspection and subscription types.
.map do |type| .map do |type|
name = type[:name] name = type[:name]
type.merge( type.merge(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment