Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pluralsh/console-client-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.61
Choose a base ref
...
head repository: pluralsh/console-client-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.62
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Dec 22, 2023

  1. Copy the full SHA
    61e9314 View commit details
Showing with 28 additions and 4 deletions.
  1. +19 −3 client.go
  2. +6 −0 graph/models.graphql
  3. +3 −1 graph/users.graphql
22 changes: 19 additions & 3 deletions client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions graph/models.graphql
Original file line number Diff line number Diff line change
@@ -72,6 +72,12 @@ fragment GroupFragment on Group {
description
}

fragment GroupMemberFragment on GroupMember {
id
user { id }
group { id }
}

fragment GitRepositoryFragment on GitRepository {
id
error
4 changes: 3 additions & 1 deletion graph/users.graphql
Original file line number Diff line number Diff line change
@@ -11,5 +11,7 @@ query GetGroup($name: String!) {
}

mutation AddGroupMember($groupId: ID!, $userId: ID!) {
createGroupMember(groupId: $groupId, userId: $userId) { id }
createGroupMember(groupId: $groupId, userId: $userId) {
...GroupMemberFragment
}
}