When attempting to update an integer in grafbase, I encounter the error "Expected an Object for". The issue arises during the update process even though everything appears to be correctly set up. Here is the mutation code:
export const updatePetMutation = `
mutation UpdatePet($id: ID!, $input: PetUpdateInput!) {
petUpdate(by: { id: $id }, input: $input) {
pet {
name
id
createdBy {
email
name
}
}
}
}
`;