sullivtr / terraform-provider-graphql

Terraform GraphQL plugin to automate the full life-cycle of graphql api resources.
https://sullivtr.github.io/terraform-provider-graphql
Mozilla Public License 2.0
53 stars 13 forks source link

Possibly wrong documentation #56

Closed samm-git closed 2 years ago

samm-git commented 2 years ago

Readme shows possibly wrong example of the read query:


### Read Query Example
```hcl
mutation getUserByEmail($email: String!) {
  deleteUser(userInput: {
    email: $email
  }) {
    id,
    givenName,
    surname,
    email
  }
}

This seems to be copypaste from delete mutation instead.

sullivtr commented 2 years ago

@samm-git Indeed there is a typo. deleteUser should just be getUser for the example. Ill try to sneak this typo fix into the next release.

sullivtr commented 2 years ago

This documentation has been updated as part of the v2.4.0 release