Skip to content

Add followUser/unfollowUser mutations. #758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

connorshea
Copy link
Owner

@connorshea connorshea commented Oct 11, 2019

For example:

mutation($id: ID!) {
  followUser(userId: $id) {
    user {
      id
      username
    }
  }
}
mutation($id: ID!) {
  unfollowUser(userId: $id) {
    user {
      id
      username
    }
  }
}

@connorshea connorshea added enhancement New feature or request api GraphQL API-related issues and PRs labels Oct 11, 2019
@connorshea connorshea merged commit 32cd57b into master Oct 11, 2019
@connorshea connorshea deleted the follow-unfollow-user-mutations branch October 11, 2019 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api GraphQL API-related issues and PRs enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant