Skip to content

Conversation

@benjie
Copy link
Owner

@benjie benjie commented Oct 3, 2025

query AllUsers {
  allUsers {
    nodes {
      id
      name
    }
  }
}

mutation CreateUser {
  createUser(input:  {
     user:  {
        name: "Anonymous"
     }
  }) {
    user{
      id
      name
    }
  }
}

mutation UpdateUser {
  updateUserById(
    input:  {
       id: 1,
       userPatch:  {
          name: "New Name 3"
       }
    }
  ) {
    user {
      id
      name
    }
  }
}

subscription Updated {
  userUpdated(id: 1) {
    id
    name
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants