Commit 532181c1 authored by Natalia Tepluhina's avatar Natalia Tepluhina Committed by Martin Wortschack

Resolve "Abstract common fragments to GraphQL shared folder"

parent 898c5da4
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,8 +8,10 @@ query GetSnippetQuery($ids: [ID!]) {
node {
...SnippetBase
...Project
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