Skip to content

Instantly share code, notes, and snippets.

@rhernandog
Last active August 14, 2020 01:15
Show Gist options
  • Save rhernandog/2dbb7f00d14aed6453aa29a96c9f431c to your computer and use it in GitHub Desktop.
Save rhernandog/2dbb7f00d14aed6453aa29a96c9f431c to your computer and use it in GitHub Desktop.
Client side queries file
import { gql } from "@apollo/client";
export const ALL_USERS = gql`
query AllUsers ($searchUserInput: SearchUserInput) {
allUsers (input: $searchUserInput) {
id
name
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment