Commit 0430839e authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '202228-abstract-common-fragments-to-graphql-shared-folder' into 'master'

Resolve "Abstract common fragments to GraphQL shared folder"

Closes #202228

See merge request gitlab-org/gitlab!24580
parents 6b87a3a3 532181c1
fragment Author on Snippet {
author {
name,
avatarUrl,
username,
webUrl
}
}
\ No newline at end of file
#import '../fragments/snippetBase.fragment.graphql'
#import '../fragments/project.fragment.graphql'
#import '../fragments/author.fragment.graphql'
#import "~/graphql_shared/fragments/author.fragment.graphql"
query GetSnippetQuery($ids: [ID!]) {
snippets(ids: $ids) {
......@@ -8,7 +8,9 @@ query GetSnippetQuery($ids: [ID!]) {
node {
...SnippetBase
...Project
...Author
author {
...Author
}
}
}
}
......
#import "./diffRefs.fragment.graphql"
#import "./author.fragment.graphql"
#import "~/graphql_shared/fragments/author.fragment.graphql"
fragment DesignNote on Note {
id
......
#import "../fragments/design.fragment.graphql"
#import "../fragments/author.fragment.graphql"
#import "~/graphql_shared/fragments/author.fragment.graphql"
query getDesign($fullPath: ID!, $iid: String!, $atVersion: ID, $filenames: [String!]) {
project(fullPath: $fullPath) {
......
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