I don't believe its a big deal, but my GraphIQL generates all of its queries and mutations from my PSQL schema. Is it possible to have it general a file for me with each change that I can use directly in my project? As currently I am having to write manually my queries/mutations as below and often I am changing the schema and then having to update all my instances of this.
export const UPDATE = gql`
mutation updateOrganiserByOrganiserId(
$organiserName: String!
$address: String
$address2: String
$city: String
$country: String
$postCode: String
$manufacturerId: Int
$organiserId: Int!
$competitionSystemId: Int!
) {
updateOrganiserByOrganiserId(
input: {
clientMutationId: "updateOrganisation"
organiserId: $organiserId
organiserPatch: {
organiserName: $organiserName
address: $address
address2: $address2
city: $city
country: $country
postCode: $postCode
manufacturerId: $manufacturerId
competitionSystemId: $competitionSystemId
}
}
) {
clientMutationId
}
}
`