Skip to content

Commit

Permalink
prettify .graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus committed May 24, 2024
1 parent 3b431eb commit ce9aa46
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

fragment UserResultSelection on UserResult {
__typename
... on User { ...UserSelection }
... on User {
...UserSelection
}
... on InvalidInput {
errors {
path
Expand Down
8 changes: 6 additions & 2 deletions catalog/app/containers/NavBar/gql/Me.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ query {
name
email
isAdmin
role { name }
roles { name }
role {
name
}
roles {
name
}
}
}
8 changes: 6 additions & 2 deletions catalog/app/containers/NavBar/gql/SwitchRole.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ mutation ($roleName: String!) {
name
email
isAdmin
role { name }
roles { name }
role {
name
}
roles {
name
}
}
... on OperationError {
message
Expand Down

0 comments on commit ce9aa46

Please sign in to comment.