Options
All
  • Public
  • Public/Protected
  • All
Menu
example
{
  query: `
    mutation CreateAccount($account: AccountInput!) {
      createAccount(account: $account)
    }
  `,
  variables: {
    account: {
      username: 'john.doe',
      password: 'pass',
      emailAddress: 'john.doe@example.com',
      firstName: 'John',
      lastName: null,
      bio: null,
    },
  },
}

Hierarchy

  • GraphQlRequest

Index

Properties

Properties

Readonly query

query: string

Optional Readonly variables

variables: any

Generated using TypeDoc