Commit c9202be3 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '347040-cablett-fix-linter-error' into 'master'

Move query into EE to satisfy linter [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!75816
parents 551a78e7 31ab6d60
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
mutation CreateEpic($input: CreateEpicInput!) { mutation CreateEpic($input: CreateEpicInput!) {
createEpic(input: $input) { createEpic(input: $input) {
# We have an id in deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
epic { epic {
...EpicNode ...EpicNode
labels { labels {
......
...@@ -18,8 +18,6 @@ query epicBoardListEpics( ...@@ -18,8 +18,6 @@ query epicBoardListEpics(
id id
epics(first: $first, after: $after, filters: $filters) { epics(first: $first, after: $after, filters: $filters) {
edges { edges {
# We have an id in deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
node { node {
...EpicNode ...EpicNode
relativePosition relativePosition
......
...@@ -82,8 +82,6 @@ query childItems( ...@@ -82,8 +82,6 @@ query childItems(
__typename __typename
edges { edges {
__typename __typename
# We have an id in deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
node { node {
__typename __typename
...EpicNode ...EpicNode
......
import Api from 'ee/api'; import Api from 'ee/api';
import epicChildren from 'shared_queries/epic/epic_children.query.graphql';
import createFlash from '~/flash'; import createFlash from '~/flash';
import axios from '~/lib/utils/axios_utils'; import axios from '~/lib/utils/axios_utils';
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils'; import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
...@@ -11,6 +10,7 @@ import { ...@@ -11,6 +10,7 @@ import {
pathIndeterminateErrorMap, pathIndeterminateErrorMap,
relatedIssuesRemoveErrorMap, relatedIssuesRemoveErrorMap,
} from '~/related_issues/constants'; } from '~/related_issues/constants';
import epicChildren from '../queries/epic_children.query.graphql';
import { ChildType, ChildState, idProp, relativePositions, trackingAddedIssue } from '../constants'; import { ChildType, ChildState, idProp, relativePositions, trackingAddedIssue } from '../constants';
......
...@@ -9,8 +9,6 @@ query searchEpics($fullPath: ID!, $search: String, $state: EpicState) { ...@@ -9,8 +9,6 @@ query searchEpics($fullPath: ID!, $search: String, $state: EpicState) {
includeAncestorGroups: true includeAncestorGroups: true
includeDescendantGroups: false includeDescendantGroups: false
) { ) {
# We have an id in deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
nodes { nodes {
...EpicNode ...EpicNode
} }
......
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