Show the name of the logged in user in DefaultLayout

This commit is contained in:
Daniel Egger 2018-10-05 10:49:12 +02:00
parent ae7fc596b9
commit 21c85941be
5 changed files with 32 additions and 9 deletions

View File

@ -18,8 +18,8 @@ charset = utf-8
indent_style = space
indent_size = 4
# 4 space indentation
[*.yml]
# 2 space indentation
[*.{yml,gql}]
indent_style = space
indent_size = 2

View File

@ -0,0 +1,9 @@
fragment UserParts on UserNode {
id
pk
username
email
firstName
lastName
avatar
}

View File

@ -0,0 +1,7 @@
#import "./fragments/userParts.gql"
query MeQuery {
me {
...UserParts
permissions
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long