npm package: @genql/pokemon-demo
Description: Graphql client
Latest version: 1.0.0


# @genql/pokemon-demo

Your awesome graphql client ❤️

## Example usage

```js
import { createClient } from '@genql/pokemon-demo'
const client = createClient()



// variables
var pokemons__first

client
  .query({
    query: {
      pokemon: {
        height: {
          minimum: true,
          maximum: true,
        },
        evolutionRequirements: {
          amount: true,
        },
        id: true,
        classification: true,
        fleeRate: true,
        maxCP: true,
      },
    },
    pokemons: [
      {
        first: pokemons__first,
      },
      {
        number: true,
        name: true,
        resistant: true,
        weaknesses: true,
        fleeRate: true,
        maxHP: true,
        image: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var pokemons__first

client
  .query({
    pokemon: {
      evolutions: {
        evolutions: {
          evolutionRequirements: {
            name: true,
          },
          height: {
            minimum: true,
          },
          id: true,
          number: true,
          name: true,
          classification: true,
          resistant: true,
          weaknesses: true,
          maxCP: true,
          maxHP: true,
          image: true,
        },
        height: {
          minimum: true,
        },
        evolutionRequirements: {
          name: true,
        },
        name: true,
        classification: true,
        types: true,
        resistant: true,
        fleeRate: true,
        maxHP: true,
        image: true,
      },
      height: {
        minimum: true,
      },
      id: true,
      number: true,
      classification: true,
      fleeRate: true,
    },
    query: {
      pokemons: [
        {
          first: pokemons__first,
        },
        {
          attacks: {
            fast: {
              type: true,
              damage: true,
            },
          },
          weight: {
            minimum: true,
          },
          height: {
            minimum: true,
          },
          evolutions: {
            classification: true,
            maxCP: true,
          },
          evolutionRequirements: {
            amount: true,
          },
          id: true,
          number: true,
          classification: true,
          weaknesses: true,
          fleeRate: true,
          image: true,
        },
      ],
      pokemon: {
        number: true,
        name: true,
        types: true,
        resistant: true,
        weaknesses: true,
        fleeRate: true,
        maxHP: true,
        image: true,
      },
    },
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var pokemons__first

client
  .query({
    pokemons: [
      {
        first: pokemons__first,
      },
      {
        height: {
          minimum: true,
          maximum: true,
        },
        weight: {
          maximum: true,
        },
        attacks: {
          special: {
            type: true,
          },
        },
        number: true,
        classification: true,
        types: true,
        resistant: true,
        image: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var pokemons__first

client
  .query({
    pokemons: [
      {
        first: pokemons__first,
      },
      {
        weight: {
          minimum: true,
        },
        evolutionRequirements: {
          name: true,
        },
        number: true,
        types: true,
        weaknesses: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))


```