Module: Types

Defined in:
app/graphql/types/base_enum.rb,
app/graphql/types/base_edge.rb,
app/graphql/types/date_type.rb,
app/graphql/types/sort_enum.rb,
app/graphql/types/time_type.rb,
app/graphql/types/todo_type.rb,
app/graphql/types/user_type.rb,
app/graphql/types/base_field.rb,
app/graphql/types/base_union.rb,
app/graphql/types/board_type.rb,
app/graphql/types/color_type.rb,
app/graphql/types/event_type.rb,
app/graphql/types/group_type.rb,
app/graphql/types/issue_type.rb,
app/graphql/types/label_type.rb,
app/graphql/types/query_type.rb,
app/graphql/types/base_object.rb,
app/graphql/types/base_scalar.rb,
app/graphql/types/branch_type.rb,
app/graphql/types/ci/job_type.rb,
app/graphql/types/commit_type.rb,
app/graphql/types/project_type.rb,
app/graphql/types/release_type.rb,
app/graphql/types/snippet_type.rb,
app/graphql/types/timelog_type.rb,
app/graphql/types/base_argument.rb,
app/graphql/types/ci/group_type.rb,
app/graphql/types/ci/stage_type.rb,
app/graphql/types/duration_type.rb,
app/graphql/types/evidence_type.rb,
app/graphql/types/issuable_type.rb,
app/graphql/types/metadata_type.rb,
app/graphql/types/mutation_type.rb,
app/graphql/types/noteable_type.rb,
app/graphql/types/base_interface.rb,
app/graphql/types/ci/runner_type.rb,
app/graphql/types/diff_refs_type.rb,
app/graphql/types/eventable_type.rb,
app/graphql/types/global_id_type.rb,
app/graphql/types/jira_user_type.rb,
app/graphql/types/milestone_type.rb,
app/graphql/types/namespace_type.rb,
app/graphql/types/tree/blob_type.rb,
app/graphql/types/tree/tree_type.rb,
app/graphql/types/tree/type_enum.rb,
app/graphql/types/user_interface.rb,
app/graphql/types/work_item_type.rb,
app/graphql/types/board_list_type.rb,
app/graphql/types/diff_stats_type.rb,
app/graphql/types/issue_sort_enum.rb,
app/graphql/types/issue_type_enum.rb,
app/graphql/types/notes/note_type.rb,
app/graphql/types/repository_type.rb,
app/graphql/types/sha_format_enum.rb,
app/graphql/types/todo_state_enum.rb,
app/graphql/types/tree/entry_type.rb,
app/graphql/types/user_state_enum.rb,
app/graphql/types/blob_viewer_type.rb,
app/graphql/types/ci/job_kind_enum.rb,
app/graphql/types/ci/pipeline_type.rb,
app/graphql/types/ci/template_type.rb,
app/graphql/types/environment_type.rb,
app/graphql/types/issue_state_enum.rb,
app/graphql/types/jira_import_type.rb,
app/graphql/types/member_interface.rb,
app/graphql/types/range_input_type.rb,
app/graphql/types/saved_reply_type.rb,
app/graphql/types/todo_action_enum.rb,
app/graphql/types/todo_target_enum.rb,
app/graphql/types/untrusted_regexp.rb,
app/graphql/types/user_status_type.rb,
app/graphql/types/access_level_enum.rb,
app/graphql/types/access_level_type.rb,
app/graphql/types/availability_enum.rb,
app/graphql/types/base_input_object.rb,
app/graphql/types/ci/analytics_type.rb,
app/graphql/types/ci/job_need_union.rb,
app/graphql/types/ci/test_case_type.rb,
app/graphql/types/custom_emoji_type.rb,
app/graphql/types/event_action_enum.rb,
app/graphql/types/group_member_type.rb,
app/graphql/types/metadata/kas_type.rb,
app/graphql/types/release_sort_enum.rb,
app/graphql/types/subscription_type.rb,
app/graphql/types/user_callout_type.rb,
app/graphql/types/work_item_id_type.rb,
app/graphql/types/ci/build_need_type.rb,
app/graphql/types/ci/config/job_type.rb,
app/graphql/types/ci/job_status_enum.rb,
app/graphql/types/ci/test_suite_type.rb,
app/graphql/types/commit_action_type.rb,
app/graphql/types/current_user_todos.rb,
app/graphql/types/issuable_sort_enum.rb,
app/graphql/types/merge_request_type.rb,
app/graphql/types/release_links_type.rb,
app/graphql/types/snippets/blob_type.rb,
app/graphql/types/snippets/type_enum.rb,
app/graphql/types/todoable_interface.rb,
app/graphql/types/ci/config/need_type.rb,
app/graphql/types/ci/runner_sort_enum.rb,
app/graphql/types/ci/runner_type_enum.rb,
app/graphql/types/clusters/agent_type.rb,
app/graphql/types/issuable_state_enum.rb,
app/graphql/types/merge_strategy_enum.rb,
app/graphql/types/milestone_sort_enum.rb,
app/graphql/types/project_member_type.rb,
app/graphql/types/projects/topic_type.rb,
app/graphql/types/release_assets_type.rb,
app/graphql/types/release_source_type.rb,
app/graphql/types/tree/submodule_type.rb,
app/graphql/types/ci/config/group_type.rb,
app/graphql/types/ci/config/stage_type.rb,
app/graphql/types/ci/job_artifact_type.rb,
app/graphql/types/ci/runner_setup_type.rb,
app/graphql/types/commit_encoding_enum.rb,
app/graphql/types/deployment_tier_enum.rb,
app/graphql/types/deprecated_mutations.rb,
app/graphql/types/invitation_interface.rb,
app/graphql/types/milestone_state_enum.rb,
app/graphql/types/milestone_stats_type.rb,
app/graphql/types/repository/blob_type.rb,
app/graphql/types/resolvable_interface.rb,
app/graphql/types/terraform/state_type.rb,
app/graphql/types/timeframe_input_type.rb,
app/graphql/types/tree/tree_entry_type.rb,
app/graphql/types/work_item_state_enum.rb,
app/graphql/types/work_items/type_type.rb,
app/graphql/types/ci/ci_cd_setting_type.rb,
app/graphql/types/ci/config/config_type.rb,
app/graphql/types/ci/config/status_enum.rb,
app/graphql/types/ci/runner_status_enum.rb,
app/graphql/types/ci/status_action_type.rb,
app/graphql/types/diff_paths_input_type.rb,
app/graphql/types/group_invitation_type.rb,
app/graphql/types/issue_connection_type.rb,
app/graphql/types/notes/discussion_type.rb,
app/graphql/types/packages/package_type.rb,
app/graphql/types/permission_types/note.rb,
app/graphql/types/permission_types/user.rb,
app/graphql/types/projects/service_type.rb,
app/graphql/types/prometheus_alert_type.rb,
app/graphql/types/query_complexity_type.rb,
app/graphql/types/user_preferences_type.rb,
app/graphql/types/blob_viewers/type_enum.rb,
app/graphql/types/ci/config/include_type.rb,
app/graphql/types/ci/pipeline_scope_enum.rb,
app/graphql/types/ci/runner_web_url_edge.rb,
app/graphql/types/design_management_type.rb,
app/graphql/types/issuable_severity_enum.rb,
app/graphql/types/issue_state_event_enum.rb,
app/graphql/types/metrics/dashboard_type.rb,
app/graphql/types/packages/metadata_type.rb,
app/graphql/types/permission_types/group.rb,
app/graphql/types/permission_types/issue.rb,
app/graphql/types/task_completion_status.rb,
app/graphql/types/visibility_levels_enum.rb,
app/graphql/types/ci/detailed_status_type.rb,
app/graphql/types/ci/job_token_scope_type.rb,
app/graphql/types/ci/pipeline_counts_type.rb,
app/graphql/types/ci/pipeline_status_enum.rb,
app/graphql/types/ci/recent_failures_type.rb,
app/graphql/types/ci/runner_platform_type.rb,
app/graphql/types/commit_action_mode_enum.rb,
app/graphql/types/diff_stats_summary_type.rb,
app/graphql/types/kas/agent_metadata_type.rb,
app/graphql/types/merge_request_sort_enum.rb,
app/graphql/types/permission_types/ci/job.rb,
app/graphql/types/project_invitation_type.rb,
app/graphql/types/project_statistics_type.rb,
app/graphql/types/release_asset_link_type.rb,
app/graphql/types/ci/pipeline_message_type.rb,
app/graphql/types/ci/test_case_status_enum.rb,
app/graphql/types/grafana_integration_type.rb,
app/graphql/types/issue_status_counts_type.rb,
app/graphql/types/merge_request_state_enum.rb,
app/graphql/types/notes/diff_position_type.rb,
app/graphql/types/notes/noteable_interface.rb,
app/graphql/types/notes/position_type_enum.rb,
app/graphql/types/permission_types/project.rb,
app/graphql/types/permission_types/snippet.rb,
app/graphql/types/ci/test_report_total_type.rb,
app/graphql/types/clusters/agent_token_type.rb,
app/graphql/types/container_repository_type.rb,
app/graphql/types/countable_connection_type.rb,
app/graphql/types/kas/agent_connection_type.rb,
app/graphql/types/packages/package_tag_type.rb,
app/graphql/types/release_assets_input_type.rb,
app/graphql/types/security/report_type_enum.rb,
app/graphql/types/snippets/blob_action_enum.rb,
app/graphql/types/snippets/blob_viewer_type.rb,
app/graphql/types/ci/test_suite_summary_type.rb,
app/graphql/types/ci_configuration/sast/type.rb,
app/graphql/types/dependency_proxy/blob_type.rb,
app/graphql/types/group_member_relation_enum.rb,
app/graphql/types/merge_requests/author_type.rb,
app/graphql/types/milestone_wildcard_id_enum.rb,
app/graphql/types/packages/package_file_type.rb,
app/graphql/types/packages/package_sort_enum.rb,
app/graphql/types/packages/package_type_enum.rb,
app/graphql/types/permission_types/ci/runner.rb,
app/graphql/types/permission_types/work_item.rb,
app/graphql/types/projects/service_type_enum.rb,
app/graphql/types/alert_management/alert_type.rb,
app/graphql/types/ci/application_setting_type.rb,
app/graphql/types/ci/config/include_type_enum.rb,
app/graphql/types/ci/runner_access_level_enum.rb,
app/graphql/types/ci/runner_architecture_type.rb,
app/graphql/types/ci/test_report_summary_type.rb,
app/graphql/types/packages/composer/json_type.rb,
app/graphql/types/packages/file_metadata_type.rb,
app/graphql/types/packages/helm/metadata_type.rb,
app/graphql/types/permission_types/group_enum.rb,
app/graphql/types/work_items/state_event_enum.rb,
app/graphql/types/alert_management/status_enum.rb,
app/graphql/types/kas/agent_configuration_type.rb,
app/graphql/types/merge_requests/assignee_type.rb,
app/graphql/types/merge_requests/reviewer_type.rb,
app/graphql/types/mutation_operation_mode_enum.rb,
app/graphql/types/packages/package_status_enum.rb,
app/graphql/types/packages/pypi/metadatum_type.rb,
app/graphql/types/permission_types/ci/pipeline.rb,
app/graphql/types/project_member_relation_enum.rb,
app/graphql/types/release_asset_link_type_enum.rb,
app/graphql/types/release_tag_wildcard_id_enum.rb,
app/graphql/types/root_storage_statistics_type.rb,
app/graphql/types/terraform/state_version_type.rb,
app/graphql/types/award_emojis/award_emoji_type.rb,
app/graphql/types/boards/board_issue_input_type.rb,
app/graphql/types/container_repository_tag_type.rb,
app/graphql/types/design_management/design_type.rb,
app/graphql/types/jira_users_mapping_input_type.rb,
app/graphql/types/merge_request_connection_type.rb,
app/graphql/types/packages/conan/metadatum_type.rb,
app/graphql/types/packages/helm/dependency_type.rb,
app/graphql/types/packages/helm/maintainer_type.rb,
app/graphql/types/packages/maven/metadatum_type.rb,
app/graphql/types/packages/nuget/metadatum_type.rb,
app/graphql/types/packages/package_details_type.rb,
app/graphql/types/permission_types/custom_emoji.rb,
app/graphql/types/release_asset_link_input_type.rb,
app/graphql/types/snippets/blob_connection_type.rb,
app/graphql/types/alert_management/severity_enum.rb,
app/graphql/types/ci/config/job_restriction_type.rb,
app/graphql/types/ci/job_artifact_file_type_enum.rb,
app/graphql/types/ci/pipeline_config_source_enum.rb,
app/graphql/types/container_repository_sort_enum.rb,
app/graphql/types/dependency_proxy/manifest_type.rb,
app/graphql/types/design_management/version_type.rb,
app/graphql/types/issuable_searchable_field_enum.rb,
app/graphql/types/merge_request_state_event_enum.rb,
app/graphql/types/notes/diff_position_input_type.rb,
app/graphql/types/permission_types/merge_request.rb,
app/graphql/types/user_callout_feature_name_enum.rb,
app/graphql/types/customer_relations/contact_type.rb,
app/graphql/types/design_management/design_fields.rb,
app/graphql/types/merge_request_review_state_enum.rb,
app/graphql/types/merge_requests/participant_type.rb,
app/graphql/types/namespace/package_settings_type.rb,
app/graphql/types/snippets/blob_action_input_type.rb,
app/graphql/types/snippets/visibility_scopes_enum.rb,
app/graphql/types/alert_management/alert_sort_enum.rb,
app/graphql/types/boards/assignee_wildcard_id_enum.rb,
app/graphql/types/ci/runner_membership_filter_enum.rb,
app/graphql/types/ci_configuration/sast/input_type.rb,
app/graphql/types/clusters/agent_token_status_enum.rb,
app/graphql/types/container_expiration_policy_type.rb,
app/graphql/types/container_repository_status_enum.rb,
app/graphql/types/error_tracking/sentry_error_type.rb,
app/graphql/types/merge_requests/merge_status_enum.rb,
app/graphql/types/packages/composer/metadatum_type.rb,
app/graphql/types/packages/package_dependency_type.rb,
app/graphql/types/packages/package_group_sort_enum.rb,
app/graphql/types/alert_management/integration_type.rb,
app/graphql/types/ci_configuration/sast/entity_type.rb,
app/graphql/types/container_repository_details_type.rb,
app/graphql/types/packages/helm/file_metadatum_type.rb,
app/graphql/types/boards/board_issue_input_base_type.rb,
app/graphql/types/ci/runner_upgrade_status_type_enum.rb,
app/graphql/types/clusters/agent_activity_event_type.rb,
app/graphql/types/metrics/dashboards/annotation_type.rb,
app/graphql/types/negated_milestone_wildcard_id_enum.rb,
app/graphql/types/packages/conan/file_metadatum_type.rb,
app/graphql/types/work_items/convert_task_input_type.rb,
app/graphql/types/work_items/deleted_task_input_type.rb,
app/graphql/types/alert_management/domain_filter_enum.rb,
app/graphql/types/container_repository_tags_sort_enum.rb,
app/graphql/types/dependency_proxy/group_setting_type.rb,
app/graphql/types/dependency_proxy/manifest_type_enum.rb,
app/graphql/types/notes/diff_position_base_input_type.rb,
app/graphql/types/projects/services/base_service_type.rb,
app/graphql/types/projects/services/jira_project_type.rb,
app/graphql/types/projects/services/jira_service_type.rb,
app/graphql/types/user_merge_request_interaction_type.rb,
app/graphql/types/customer_relations/organization_type.rb,
app/graphql/types/notes/diff_image_position_input_type.rb,
app/graphql/types/projects/namespace_project_sort_enum.rb,
app/graphql/types/boards/board_issuable_input_base_type.rb,
app/graphql/types/boards/negated_board_issue_input_type.rb,
app/graphql/types/container_expiration_policy_keep_enum.rb,
app/graphql/types/data_visualization_palette/color_enum.rb,
app/graphql/types/error_tracking/sentry_error_tags_type.rb,
app/graphql/types/namespace/shared_runners_setting_enum.rb,
app/graphql/types/packages/package_dependency_link_type.rb,
app/graphql/types/packages/package_dependency_type_enum.rb,
app/graphql/types/permission_types/base_permission_type.rb,
app/graphql/types/alert_management/http_integration_type.rb,
app/graphql/types/alert_management/integration_type_enum.rb,
app/graphql/types/data_visualization_palette/weight_enum.rb,
app/graphql/types/issues/negated_issue_filter_input_type.rb,
app/graphql/types/packages/dependency_link_metadata_type.rb,
app/graphql/types/ci_configuration/sast/entity_input_type.rb,
app/graphql/types/error_tracking/sentry_error_status_enum.rb,
app/graphql/types/packages/conan/metadatum_file_type_enum.rb,
app/graphql/types/container_expiration_policy_cadence_enum.rb,
app/graphql/types/container_repository_cleanup_status_enum.rb,
app/graphql/types/design_management/design_at_version_type.rb,
app/graphql/types/design_management/design_collection_type.rb,
app/graphql/types/alert_management/alert_status_counts_type.rb,
app/graphql/types/ci/code_quality_degradation_severity_enum.rb,
app/graphql/types/ci_configuration/sast/options_entity_type.rb,
app/graphql/types/error_tracking/sentry_detailed_error_type.rb,
app/graphql/types/release_asset_link_shared_input_arguments.rb,
app/graphql/types/error_tracking/sentry_error_frequency_type.rb,
app/graphql/types/incident_management/escalation_status_enum.rb,
app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb,
app/graphql/types/container_expiration_policy_older_than_enum.rb,
app/graphql/types/design_management/design_version_event_enum.rb,
app/graphql/types/error_tracking/sentry_error_collection_type.rb,
app/graphql/types/merge_requests/interacts_with_merge_request.rb,
app/graphql/types/notes/update_diff_image_position_input_type.rb,
app/graphql/types/alert_management/prometheus_integration_type.rb,
app/graphql/types/ci_configuration/sast/ui_component_size_enum.rb,
app/graphql/types/dependency_proxy/image_ttl_group_policy_type.rb,
app/graphql/types/error_tracking/sentry_error_stack_trace_type.rb,
app/graphql/types/admin/analytics/usage_trends/measurement_type.rb,
app/graphql/types/packages/nuget/dependency_link_metadatum_type.rb,
app/graphql/types/admin/sidekiq_queues/delete_jobs_response_type.rb,
app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb,
app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb,
app/graphql/types/design_management/design_collection_copy_state_enum.rb,
app/graphql/types/error_tracking/sentry_error_stack_trace_context_type.rb,
app/graphql/types/admin/analytics/usage_trends/measurement_identifier_enum.rb

Overview

Service for managing alert counts and cache updates.

Defined Under Namespace

Modules: Admin, AlertManagement, AwardEmojis, BaseInterface, BlobViewers, Boards, Ci, CiConfiguration, Clusters, CurrentUserTodos, CustomerRelations, DataVisualizationPalette, DeprecatedMutations, DesignManagement, ErrorTracking, EventableType, IncidentManagement, InvitationInterface, Issues, Kas, MemberInterface, MergeRequests, Metadata, Metrics, Notes, Packages, PermissionTypes, Projects, ReleaseAssetLinkSharedInputArguments, Repository, ResolvableInterface, Security, Snippets, Terraform, TodoableInterface, Tree, UserInterface, WorkItems Classes: AccessLevelEnum, AccessLevelType, AvailabilityEnum, BaseArgument, BaseEdge, BaseEnum, BaseField, BaseInputObject, BaseObject, BaseScalar, BaseUnion, BlobViewerType, BoardListType, BoardType, BranchType, ColorType, CommitActionModeEnum, CommitActionType, CommitEncodingEnum, CommitType, ContainerExpirationPolicyCadenceEnum, ContainerExpirationPolicyKeepEnum, ContainerExpirationPolicyOlderThanEnum, ContainerExpirationPolicyType, ContainerRepositoryCleanupStatusEnum, ContainerRepositoryDetailsType, ContainerRepositorySortEnum, ContainerRepositoryStatusEnum, ContainerRepositoryTagType, ContainerRepositoryTagsSortEnum, ContainerRepositoryType, CountableConnectionType, CustomEmojiType, DateType, DeploymentTierEnum, DesignManagementType, DiffPathsInputType, DiffRefsType, DiffStatsSummaryType, DiffStatsType, DurationType, EnvironmentType, EventActionEnum, EventType, EvidenceType, GlobalIDType, GrafanaIntegrationType, GroupInvitationType, GroupMemberRelationEnum, GroupMemberType, GroupType, IssuableSearchableFieldEnum, IssuableSeverityEnum, IssuableSortEnum, IssuableStateEnum, IssuableType, IssueConnectionType, IssueSortEnum, IssueStateEnum, IssueStateEventEnum, IssueStatusCountsType, IssueType, IssueTypeEnum, JiraImportType, JiraUserType, JiraUsersMappingInputType, LabelType, MergeRequestConnectionType, MergeRequestReviewStateEnum, MergeRequestSortEnum, MergeRequestStateEnum, MergeRequestStateEventEnum, MergeRequestType, MergeStrategyEnum, MetadataType, MilestoneSortEnum, MilestoneStateEnum, MilestoneStatsType, MilestoneType, MilestoneWildcardIdEnum, MutationOperationModeEnum, MutationType, NamespaceType, NegatedMilestoneWildcardIdEnum, NoteableType, ProjectInvitationType, ProjectMemberRelationEnum, ProjectMemberType, ProjectStatisticsType, ProjectType, PrometheusAlertType, QueryComplexityType, QueryType, RangeInputType, ReleaseAssetLinkInputType, ReleaseAssetLinkType, ReleaseAssetLinkTypeEnum, ReleaseAssetsInputType, ReleaseAssetsType, ReleaseLinksType, ReleaseSortEnum, ReleaseSourceType, ReleaseTagWildcardIdEnum, ReleaseType, RepositoryType, RootStorageStatisticsType, SavedReplyType, ShaFormatEnum, SnippetType, SortEnum, SubscriptionType, TaskCompletionStatus, TimeType, TimeframeInputType, TimelogType, TodoActionEnum, TodoStateEnum, TodoTargetEnum, TodoType, UntrustedRegexp, UserCalloutFeatureNameEnum, UserCalloutType, UserMergeRequestInteractionType, UserPreferencesType, UserStateEnum, UserStatusType, UserType, VisibilityLevelsEnum, WorkItemIdType, WorkItemStateEnum, WorkItemType

Constant Summary collapse

IssueConnection =

Normally this wouldn't be needed and we could use

type Types::IssueType.connection_type, null: true

in a resolver. However we can end up with cyclic definitions, which can result in errors like

NameError: uninitialized constant Resolvers::GroupIssuesResolver

Now we would use

type "Types::IssueConnection", null: true

which gives a delayed resolution, and the proper connection type. See app/graphql/resolvers/base_issues_resolver.rb Reference: github.com/rmosolgo/graphql-ruby/issues/3974#issuecomment-1084444214

Types::IssueType.connection_type