Commit 1d5b1df2 authored by Natalia Tepluhina's avatar Natalia Tepluhina Committed by Nicolò Maria Mezzopera

Resolve "Duplicated GraphQL fragment: BasicEpic and Project"

parent 1119b3d6
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