Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3951fa9b
Commit
3951fa9b
authored
Aug 12, 2019
by
Natalia Tepluhina
Committed by
Kushal Pandya
Aug 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "GDK error on non-unique GraphQL fragment 'PageInfo'"
parent
2f385f7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
app/assets/javascripts/graphql_shared/fragments/pageInfo.fragment.graphql
...cripts/graphql_shared/fragments/pageInfo.fragment.graphql
+4
-0
app/assets/javascripts/repository/queries/getFiles.query.graphql
...ets/javascripts/repository/queries/getFiles.query.graphql
+2
-5
No files found.
app/assets/javascripts/graphql_shared/fragments/pageInfo.fragment.graphql
0 → 100644
View file @
3951fa9b
fragment
PageInfo
on
PageInfo
{
hasNextPage
endCursor
}
app/assets/javascripts/repository/queries/getFiles.query.graphql
View file @
3951fa9b
#import "~/graphql_shared/fragments/pageInfo.fragment.graphql"
fragment
TreeEntry
on
Entry
{
fragment
TreeEntry
on
Entry
{
id
id
name
name
...
@@ -5,11 +7,6 @@ fragment TreeEntry on Entry {
...
@@ -5,11 +7,6 @@ fragment TreeEntry on Entry {
type
type
}
}
fragment
PageInfo
on
PageInfo
{
hasNextPage
endCursor
}
query
getFiles
(
query
getFiles
(
$projectPath
:
ID
!
$projectPath
:
ID
!
$path
:
String
$path
:
String
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment