Commit 378b30e8 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch '223691-duplicated-graphql-fragment-basicepic-and-project' into 'master'

Resolve "Duplicated GraphQL fragment: BasicEpic and Project"

Closes #223691

See merge request gitlab-org/gitlab!35003
parents 7695867f 1d5b1df2
fragment Project on Snippet {
fragment SnippetProject on Snippet {
project {
fullPath
webUrl
......
......@@ -7,7 +7,7 @@ query GetSnippetQuery($ids: [ID!]) {
edges {
node {
...SnippetBase
...Project
...SnippetProject
author {
...Author
}
......
#import "ee_else_ce/boards/queries/board_list.fragment.graphql"
query GroupBoard($fullPath: ID!, $boardId: ID!) {
query GroupBoardEE($fullPath: ID!, $boardId: ID!) {
group(fullPath: $fullPath) {
board(id: $boardId) {
lists {
......
query groupEpics($fullPath: ID!) {
query groupEpicsEE($fullPath: ID!) {
group(fullPath: $fullPath) {
epics(first: 10) {
nodes {
......
fragment BaseEpic on Epic {
fragment RelatedTreeBaseEpic on Epic {
id
iid
title
......@@ -22,7 +22,7 @@ fragment BaseEpic on Epic {
}
fragment EpicNode on Epic {
...BaseEpic
...RelatedTreeBaseEpic
state
reference(full: true)
relationPath
......
......@@ -14,7 +14,7 @@ query childItems(
path
fullPath
epic(iid: $iid) {
...BaseEpic
...RelatedTreeBaseEpic
children(first: $pageSize, after: $epicEndCursor) {
edges {
node {
......
query projectRequirements(
query projectRequirementsEE(
$projectPath: ID!
$state: RequirementState
$firstPageSize: Int
......
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